Update firewalls
This commit is contained in:
parent
79e2f05ebb
commit
8787281ca2
1 changed files with 11 additions and 0 deletions
|
@ -4,6 +4,17 @@
|
|||
# https://blog.lrvt.de/configuring-fail2ban-with-traefik/
|
||||
# https://nixos.wiki/wiki/Fail2ban#Extending_Fail2ban
|
||||
|
||||
services.logrotate = {
|
||||
enable = true;
|
||||
checkConfig = true;
|
||||
settings = {
|
||||
"/var/log/traefik/access.log" = {
|
||||
frequency = "daily";
|
||||
rotate = 3;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.fail2ban.jails = {
|
||||
traefik-general-forceful-browsing = {
|
||||
settings = {
|
||||
|
|
Loading…
Reference in a new issue