summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2023-02-11 04:22:34 -0500
committerDaniel Micay <danielmicay@gmail.com>2023-02-11 04:25:11 -0500
commitf672e046fd1d6bf2b9641225fd6fc21905a0d812 (patch)
treef31eecc1db9352effedcdcaad9cf6a554a937307
parent7fcd8bf9a842c61d83d1deba68a53e647bedca7f (diff)
improve naming for http limit conn zone
-rw-r--r--nginx/nginx.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf
index 80a53b12..3ea5cfe9 100644
--- a/nginx/nginx.conf
+++ b/nginx/nginx.conf
@@ -41,8 +41,8 @@ http {
http2_max_concurrent_streams 16;
limit_conn_status 429;
- limit_conn_zone $binary_remote_addr zone=addr-limit:10m;
- limit_conn addr-limit 128;
+ limit_conn_zone $binary_remote_addr zone=http-limit:10m;
+ limit_conn http-limit 128;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256;