mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2026-11-06 17:58:46 +01:00
Add a ban action that writes `deny <ip>;` lines into the nginx stream deny snippet, so bans actually match real client traffic behind the proxies. The action does not reload nginx itself, there instead is a separate systemd path unit does that with a cooldown period. The `nginx-limit-req` jail switches to this banaction when `nginx_stream_deny` is set on the host. Related-to: https://gitlab.archlinux.org/archlinux/infrastructure/-/work_items/766 Assisted-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: Christian Heusel <christian@heusel.eu>