nginx.off.conf: move limits to location /
This commit is contained in:
parent
940f2915d2
commit
bc20de9e12
@ -9,10 +9,10 @@ server {
|
||||
listen 80;
|
||||
include /etc/nginx/mime.types;
|
||||
|
||||
limit_req zone=req_limit_per_ip burst=30;
|
||||
limit_conn conn_limit_per_ip 30;
|
||||
|
||||
location / {
|
||||
limit_req zone=req_limit_per_ip burst=30;
|
||||
limit_conn conn_limit_per_ip 30;
|
||||
|
||||
proxy_pass http://app;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user