From 001fed67b70eec519668b1633cab82c8bdc7bdaa Mon Sep 17 00:00:00 2001 From: William Blythe Date: Sun, 23 Dec 2018 06:51:50 +1100 Subject: [PATCH] change order of compression --- .docker/nginx.conf | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.docker/nginx.conf b/.docker/nginx.conf index f6019e21..a1f254db 100644 --- a/.docker/nginx.conf +++ b/.docker/nginx.conf @@ -22,9 +22,6 @@ http { error_log /tmp/error.log; # https://nginx.org/en/docs/http/ngx_http_gzip_module.html - brotli on; - # brotli_static on; - brotli_types *; # Enable gzip compression. # Default: off gzip on; @@ -57,7 +54,9 @@ http { # text/html is always compressed by gzip module. # Default: text/html gzip_types *; - + brotli on; + # brotli_static on; + brotli_types *; # This should be turned on if you are going to have pre-compressed copies (.gz) of # static files available. If not it should be left off as it will cause extra I/O # for the check. It is best if you enable this in a location{} block for