Disable features not availables in some platforms

This commit is contained in:
Manuel de Brito Fontes 2017-11-12 10:33:18 -03:00
parent 0d2434f87f
commit fdd231816c
4 changed files with 22 additions and 11 deletions

View file

@ -113,7 +113,7 @@ http {
include /etc/nginx/mime.types;
default_type text/html;
{{ if $cfg.UseBrotli }}
{{ if $cfg.EnableBrotli }}
brotli on;
brotli_comp_level {{ $cfg.BrotliLevel }};
brotli_types {{ $cfg.BrotliTypes }};