summaryrefslogtreecommitdiff
path: root/nginx
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2022-10-01 12:52:38 -0400
committerDaniel Micay <danielmicay@gmail.com>2022-10-01 12:52:38 -0400
commit94f838f80d336393f7c20643c0abe0b370cf2a43 (patch)
tree70821cf39969f5c2b4b88ec91ede5e50fcf2fd43 /nginx
parentd4532db907d92ef2d0dff7fdc49ad44326718a86 (diff)
rename conn limit memory zone
Diffstat (limited to 'nginx')
-rw-r--r--nginx/nginx.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf
index 55bfd9d5..5b166928 100644
--- a/nginx/nginx.conf
+++ b/nginx/nginx.conf
@@ -40,8 +40,8 @@ http {
http2_max_concurrent_streams 16;
limit_conn_status 429;
- limit_conn_zone $binary_remote_addr zone=addr:10m;
- limit_conn addr 128;
+ limit_conn_zone $binary_remote_addr zone=addr-limit:10m;
+ limit_conn addr-limit 128;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256;