add brotli-min-length configuration option (#7854)
* add `brotli-min-length` configuration option * add e2e tests for brotli * include check for expected content type * fix header and format
This commit is contained in:
parent
ed34f6c93d
commit
c8ab4dc307
4 changed files with 84 additions and 0 deletions
|
|
@ -320,6 +320,7 @@ http {
|
|||
{{ if $cfg.EnableBrotli }}
|
||||
brotli on;
|
||||
brotli_comp_level {{ $cfg.BrotliLevel }};
|
||||
brotli_min_length {{ $cfg.BrotliMinLength }};
|
||||
brotli_types {{ $cfg.BrotliTypes }};
|
||||
{{ end }}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue