Skip to content

Commit

Permalink
better formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
pouriyajamshidi committed Mar 10, 2024
1 parent 2708d8b commit 1277fe3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ By default, **nginwho** reads `nginx` logs from `/var/log/nginx/access.log` and
```bash
nginwho --logPath:/var/log/nginx/access.log --dbPath:/var/log/nginwho.db
# If you want to omit a certain referrer from being logged:
nginwho --logPath:/var/log/nginx/access.log --dbPath:/var/log/nginwho.db --omit-referrer:thegraynode.io
nginwho --logPath:/var/log/nginx/access.log \
--dbPath:/var/log/nginwho.db \
--omit-referrer:thegraynode.io
```

4. Optionally, use the [accompanying systemd](https://github.com/pouriyajamshidi/nginwho/blob/master/nginwho.service) service to run `nginwho` in the background and for the program to survive system reboots:
Expand Down

0 comments on commit 1277fe3

Please sign in to comment.