improve naming for http limit conn zone

This commit is contained in:
Daniel Micay 2023-02-11 04:26:52 -05:00
parent 8f673908ef
commit d142058ade

View File

@ -41,8 +41,8 @@ http {
http2_max_concurrent_streams 16; http2_max_concurrent_streams 16;
limit_conn_status 429; limit_conn_status 429;
limit_conn_zone $binary_remote_addr zone=addr-limit:10m; limit_conn_zone $binary_remote_addr zone=http-limit:10m;
limit_conn addr-limit 128; limit_conn http-limit 128;
ssl_protocols TLSv1.2 TLSv1.3; ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256; ssl_ciphers ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256;