updated path for fail2ban config

This commit is contained in:
Leyla Becker 2025-03-14 11:45:07 -05:00
parent f81878afd7
commit c1f90f07c9
2 changed files with 2 additions and 2 deletions

View file

@ -92,7 +92,7 @@ in {
enabled = true;
filter = "forgejo";
action = ''iptables-multiport[name=HTTP, port="http,https"]'';
logpath = "${config.services.forgejo.stateDir}/log/*.log";
logpath = "${config.services.forgejo.settings.log.ROOT_PATH}/*.log";
backend = "auto";
findtime = 600;
bantime = 600;