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