Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
be47c5f8
Commit
be47c5f8
authored
Oct 25, 2019
by
Phillip Smith (fukawi2)
Browse files
add fail2ban jail for archwiki role
parent
61d48f11
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/archwiki/templates/fail2ban.jail.j2
0 → 100644
View file @
be47c5f8
#
# {{ansible_managed}}
#
[wiki-nginx-dos]
enabled = true
filter = nginx-dos
action = iptables-multiport[name=ReqLimit, port="http,https", protocol=tcp]
logpath = /var/log/nginx/wiki.archlinux.org/access.log
# 400 pages in 30 minutes
findtime = 1800
bantime = 1d
maxretry = 400
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment