nginx.auth.conf: remove burst
nginx.conf: increase limit_req_zone to 15r/s
This commit is contained in:
parent
2005544190
commit
7f20ab3bee
@ -16,7 +16,7 @@ http {
|
||||
default_type application/octet-stream;
|
||||
|
||||
|
||||
limit_req_zone $binary_remote_addr zone=req_limit_per_ip:10m rate=10r/s;
|
||||
limit_req_zone $binary_remote_addr zone=req_limit_per_ip:10m rate=15r/s;
|
||||
limit_conn_zone $binary_remote_addr zone=conn_limit_per_ip:20m;
|
||||
limit_conn_status 429;
|
||||
|
||||
|
||||
@ -51,7 +51,7 @@ server {
|
||||
}
|
||||
|
||||
location = / {
|
||||
limit_req zone=req_limit_page burst=1 nodelay;
|
||||
limit_req zone=req_limit_page nodelay;
|
||||
|
||||
proxy_pass http://app;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user