Skip to content

Commit feb879d

Browse files
committed
Create jail.local
1 parent b108a8d commit feb879d

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.setup/jail.local

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[nginx-http-auth]
2+
3+
enabled = true
4+
filter = nginx-http-auth
5+
port = http,https
6+
logpath = /var/log/nginx/gateway.error.log
7+
ignoreip = 127.0.0.1/8
8+
maxretry = 5
9+
#bantime = 3600 #10 minutes is the default if not specified
10+
#findtime = 3600 # These lines combine to ban clients that fail
11+
#maxretry = 6 # to authenticate 6 times within a half hour.

0 commit comments

Comments
 (0)