use 429 response code for conn limit
This commit is contained in:
parent
1a3847e5eb
commit
e4fcd76ece
@ -38,6 +38,7 @@ http {
|
||||
http2_recv_timeout 30s;
|
||||
|
||||
http2_max_concurrent_streams 32;
|
||||
limit_conn_status 429;
|
||||
limit_conn_zone $binary_remote_addr zone=addr:10m;
|
||||
limit_conn addr 256;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user