Update nginx to 0.28 and enable brotli

This commit is contained in:
Manuel de Brito Fontes 2017-11-01 22:54:22 -03:00
parent 835ad2dfe2
commit 5115adef82
2 changed files with 4 additions and 4 deletions

View file

@ -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 }}