From f861fc22a8b2a9bc3c0308c07c1be54f5b474d6f Mon Sep 17 00:00:00 2001 From: Sean DuBois Date: Mon, 7 Jul 2014 20:37:33 +0000 Subject: [PATCH] Mention config flag in README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 76c55b9..2735526 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,8 @@ administration and reporting easier. * Run fail2rest `make run` ##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 * **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