mirror of https://gitlab.com/bashrc2/epicyon
Mention fail2ban
parent
ec61f16d2e
commit
c2ed66e81d
|
@ -78,7 +78,7 @@ Type=simple
|
||||||
User=epicyon
|
User=epicyon
|
||||||
Group=epicyon
|
Group=epicyon
|
||||||
WorkingDirectory=/opt/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=USER=epicyon
|
||||||
Environment=PYTHONUNBUFFERED=true
|
Environment=PYTHONUNBUFFERED=true
|
||||||
Restart=always
|
Restart=always
|
||||||
|
@ -204,6 +204,8 @@ And restart the web server:
|
||||||
systemctl restart nginx
|
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*
|
If you are using the [Caddy web server](https://caddyserver.com) then see *caddy.example.conf*
|
||||||
|
|
||||||
## Running Static Analysis
|
## Running Static Analysis
|
||||||
|
|
|
@ -1343,7 +1343,7 @@
|
||||||
User=epicyon<br>
|
User=epicyon<br>
|
||||||
Group=epicyon<br>
|
Group=epicyon<br>
|
||||||
WorkingDirectory=/opt/epicyon<br>
|
WorkingDirectory=/opt/epicyon<br>
|
||||||
ExecStart=/usr/bin/python3 /opt/epicyon/epicyon.py --port 443 --proxy 7156 --domain YOUR_DOMAIN --registration open --debug<br>
|
ExecStart=/usr/bin/python3 /opt/epicyon/epicyon.py --port 443 --proxy 7156 --domain YOUR_DOMAIN --registration open --debug --logLoginFailures<br>
|
||||||
Environment=USER=epicyon<br>
|
Environment=USER=epicyon<br>
|
||||||
Environment=PYTHONUNBUFFERED=true<br>
|
Environment=PYTHONUNBUFFERED=true<br>
|
||||||
Restart=always<br>
|
Restart=always<br>
|
||||||
|
@ -1492,6 +1492,9 @@
|
||||||
<div class="shell">
|
<div class="shell">
|
||||||
systemctl restart nginx
|
systemctl restart nginx
|
||||||
</div>
|
</div>
|
||||||
|
<p class="intro">
|
||||||
|
If you need to use <a href="https://www.fail2ban.org">fail2ban</a> then failed login attempts can be found in <b>accounts/loginfailures.log</b>.
|
||||||
|
</p>
|
||||||
<p class="intro">
|
<p class="intro">
|
||||||
If you are using the <a href="https://caddyserver.com">Caddy web server</a> then see <a href="https://code.freedombone.net/bashrc/epicyon/raw/main/caddy.example.conf">caddy.example.conf</a>
|
If you are using the <a href="https://caddyserver.com">Caddy web server</a> then see <a href="https://code.freedombone.net/bashrc/epicyon/raw/main/caddy.example.conf">caddy.example.conf</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in New Issue