Allow custom http2 header sizes

This commit is contained in:
Manuel de Brito Fontes 2017-03-08 20:00:16 -03:00
parent 4c0a616f5c
commit c173985af0
2 changed files with 14 additions and 2 deletions

View file

@ -60,7 +60,9 @@ http {
client_header_buffer_size {{ $cfg.ClientHeaderBufferSize }};
large_client_header_buffers {{ $cfg.LargeClientHeaderBuffers }};
http2_max_field_size {{ $cfg.ClientHeaderBufferSize }};
http2_max_field_size {{ $cfg.HTTP2MaxFieldSize }};
http2_max_header_size {{ $cfg.HTTP2MaxHeaderSize }};
types_hash_max_size 2048;
server_names_hash_max_size {{ $cfg.ServerNameHashMaxSize }};