Allow configuration of features underscores_in_headers and ignore_invalid_headers
This commit is contained in:
parent
d8d9a5ff17
commit
12d4aadf74
3 changed files with 26 additions and 6 deletions
|
|
@ -69,6 +69,9 @@ http {
|
|||
server_names_hash_bucket_size {{ $cfg.ServerNameHashBucketSize }};
|
||||
map_hash_bucket_size {{ $cfg.MapHashBucketSize }};
|
||||
|
||||
underscores_in_headers {{ if $cfg.IgnoreInvalidHeaders }}on{{ else }}off{{ end }};
|
||||
ignore_invalid_headers {{ if $cfg.EnableUnderscoresInHeaders }}on{{ else }}off{{ end }};
|
||||
|
||||
include /etc/nginx/mime.types;
|
||||
default_type text/html;
|
||||
{{ if $cfg.UseGzip }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue