Update nginx to 0.28 and enable brotli
This commit is contained in:
parent
835ad2dfe2
commit
5115adef82
2 changed files with 4 additions and 4 deletions
|
|
@ -114,9 +114,9 @@ http {
|
|||
default_type text/html;
|
||||
|
||||
{{ if $cfg.UseBrotli }}
|
||||
# brotli on;
|
||||
# brotli_comp_level {{ $cfg.BrotliLevel }};
|
||||
# brotli_types {{ $cfg.BrotliTypes }};
|
||||
brotli on;
|
||||
brotli_comp_level {{ $cfg.BrotliLevel }};
|
||||
brotli_types {{ $cfg.BrotliTypes }};
|
||||
{{ end }}
|
||||
|
||||
{{ if $cfg.UseGzip }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue