Skip to content

Commit c4444fe

Browse files
authored
Update nginx.conf
1 parent 67f8bbe commit c4444fe

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

nginx.conf

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,6 @@ http {
5555
listen 8080;
5656
server_name _;
5757

58-
limit_except GET HEAD POST {
59-
deny all;
60-
}
61-
6258
if ($bad_bot) {
6359
return 403;
6460
}
@@ -99,6 +95,9 @@ http {
9995
}
10096

10197
location / {
98+
limit_except GET HEAD POST {
99+
deny all;
100+
}
102101
limit_conn conn_limit_per_ip 10;
103102
proxy_pass http://127.0.0.1:8000;
104103
include /etc/nginx/proxy_params;

0 commit comments

Comments
 (0)