We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10f1d82 commit 6e1d241Copy full SHA for 6e1d241
1 file changed
nginx/nginx.conf
@@ -40,6 +40,8 @@ http {
40
http2_max_concurrent_streams 32;
41
limit_conn_zone $binary_remote_addr zone=addr:10m;
42
limit_conn addr 256;
43
+ limit_req_status 429;
44
+ limit_req_zone $binary_remote_addr zone=sample:10m rate=6r/m;
45
46
ssl_protocols TLSv1.2 TLSv1.3;
47
ssl_ciphers ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256;
@@ -172,6 +174,7 @@ http {
172
174
limit_except POST {
173
175
deny all;
176
}
177
+ limit_req zone=sample burst=10 nodelay;
178
179
180
location = /challenge {
0 commit comments