mirror of
https://github.com/Sean-Der/fail2rest.git
synced 2024-12-22 05:32:20 +01:00
Mention config flag in README.md
This commit is contained in:
parent
f3fe29f69b
commit
f861fc22a8
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,8 @@ administration and reporting easier.
|
||||||
* Run fail2rest `make run`
|
* Run fail2rest `make run`
|
||||||
|
|
||||||
##Configuration
|
##Configuration
|
||||||
|
fail2rest is configured via config.json in your current working directory. You can also specify a custom path with the --config flag `fail2rest --config=my_config.json`
|
||||||
|
|
||||||
fail2rest has two options that be configured via config.json
|
fail2rest has two options that be configured via config.json
|
||||||
* **Fail2banSocket** - The path to the fail2ban socket, can usually be found via `grep socket /etc/fail2ban/fail2ban.conf` you also have to run fail2rest as a user who has permissions to use this socket
|
* **Fail2banSocket** - The path to the fail2ban socket, can usually be found via `grep socket /etc/fail2ban/fail2ban.conf` you also have to run fail2rest as a user who has permissions to use this socket
|
||||||
* **Addr** - The address that fail2rest is served upon, it is usually best so serve to the loopback, and then allow access via nginx see an example config in the [fail2web](https://github.com/Sean-Der/fail2web) repository
|
* **Addr** - The address that fail2rest is served upon, it is usually best so serve to the loopback, and then allow access via nginx see an example config in the [fail2web](https://github.com/Sean-Der/fail2web) repository
|
||||||
|
|
Loading…
Reference in a new issue