Allow customization of variables hash tables

This commit is contained in:
Manuel de Brito Fontes 2017-05-28 16:05:49 -04:00
parent f00823fd83
commit 8837cf93e2
3 changed files with 15 additions and 0 deletions

View file

@ -71,6 +71,9 @@ http {
server_names_hash_bucket_size {{ $cfg.ServerNameHashBucketSize }};
map_hash_bucket_size {{ $cfg.MapHashBucketSize }};
variables_hash_bucket_size {{ $cfg.VariablesHashBucketSize }};
variables_hash_max_size {{ $cfg.VariablesHashMaxSize }};
underscores_in_headers {{ if $cfg.EnableUnderscoresInHeaders }}on{{ else }}off{{ end }};
ignore_invalid_headers {{ if $cfg.IgnoreInvalidHeaders }}on{{ else }}off{{ end }};