Update firewalls

This commit is contained in:
albert 2024-08-12 09:48:40 +09:00
parent 79e2f05ebb
commit 8787281ca2
Signed by: albert
GPG key ID: 3895DD267CA11BA9

View file

@ -4,6 +4,17 @@
# https://blog.lrvt.de/configuring-fail2ban-with-traefik/ # https://blog.lrvt.de/configuring-fail2ban-with-traefik/
# https://nixos.wiki/wiki/Fail2ban#Extending_Fail2ban # 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 = { services.fail2ban.jails = {
traefik-general-forceful-browsing = { traefik-general-forceful-browsing = {
settings = { settings = {