-
Notifications
You must be signed in to change notification settings - Fork 371
/
nginx.local
62 lines (41 loc) · 918 Bytes
/
nginx.local
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[fail2ban-nginx-cc]
enabled = true
filter = fail2ban-nginx-cc
chain = DOCKER-USER
port = http,https
action = cloudflare
logpath = /home/web/log/nginx/access.log
maxretry = 3
bantime = 3600
findtime = 3600
ignoreip = 192.168.0.1/24
[nginx-http-auth]
enabled = true
chain = DOCKER-USER
mode = fallback
port = http,https
logpath = /home/web/log/nginx/error.log
[nginx-limit-req]
enabled = true
chain = DOCKER-USER
port = http,https
action = cloudflare
logpath = /home/web/log/nginx/error.log
[nginx-botsearch]
enabled = true
chain = DOCKER-USER
port = http,https
action = cloudflare
logpath = /home/web/log/nginx/error.log
[nginx-bad-request]
enabled = true
chain = DOCKER-USER
port = http,https
action = cloudflare
logpath = /home/web/log/nginx/access.log
[php-url-fopen]
enabled = true
chain = DOCKER-USER
port = http,https
action = cloudflare
logpath = /home/web/log/nginx/access.log