diff --git a/README.md b/README.md index fc9fa0755..d3aa297e1 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,7 @@ Type=simple User=epicyon Group=epicyon WorkingDirectory=/opt/epicyon -ExecStart=/usr/bin/python3 /opt/epicyon/epicyon.py --port 443 --proxy 7156 --domain YOUR_DOMAIN --registration open +ExecStart=/usr/bin/python3 /opt/epicyon/epicyon.py --port 443 --proxy 7156 --domain YOUR_DOMAIN --registration open --logLoginFailures Environment=USER=epicyon Environment=PYTHONUNBUFFERED=true Restart=always @@ -204,6 +204,8 @@ And restart the web server: systemctl restart nginx ``` +If you need to use **fail2ban** then failed login attempts can be found in *accounts/loginfailures.log*. + If you are using the [Caddy web server](https://caddyserver.com) then see *caddy.example.conf* ## Running Static Analysis diff --git a/website/EN/index.html b/website/EN/index.html index 8ccea5135..37da861a8 100644 --- a/website/EN/index.html +++ b/website/EN/index.html @@ -1343,7 +1343,7 @@ User=epicyon
Group=epicyon
WorkingDirectory=/opt/epicyon
- ExecStart=/usr/bin/python3 /opt/epicyon/epicyon.py --port 443 --proxy 7156 --domain YOUR_DOMAIN --registration open --debug
+ ExecStart=/usr/bin/python3 /opt/epicyon/epicyon.py --port 443 --proxy 7156 --domain YOUR_DOMAIN --registration open --debug --logLoginFailures
Environment=USER=epicyon
Environment=PYTHONUNBUFFERED=true
Restart=always
@@ -1492,6 +1492,9 @@
systemctl restart nginx
+

+ If you need to use fail2ban then failed login attempts can be found in accounts/loginfailures.log. +

If you are using the Caddy web server then see caddy.example.conf