Skip to content

Commit d36db69

Browse files
committed
add hash directives to stream block
1 parent 8b7ae44 commit d36db69

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

internal/mode/static/nginx/conf/nginx.conf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,10 @@ http {
3939

4040
stream {
4141
include /etc/nginx/stream-conf.d/*.conf;
42+
43+
variables_hash_bucket_size 512;
44+
variables_hash_max_size 1024;
45+
46+
map_hash_max_size 2048;
47+
map_hash_bucket_size 256;
4248
}

0 commit comments

Comments
 (0)