diff --git a/ee/cli/templates/nginx-core.mustache b/ee/cli/templates/nginx-core.mustache index 6c90e51b..557c95a7 100644 --- a/ee/cli/templates/nginx-core.mustache +++ b/ee/cli/templates/nginx-core.mustache @@ -36,4 +36,21 @@ gzip_proxied any; gzip_comp_level 6; gzip_buffers 16 8k; gzip_http_version 1.1; -gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript; +# Compress all output labeled with one of the following MIME-types. +gzip_types + application/atom+xml + application/javascript + application/json + application/rss+xml + application/vnd.ms-fontobject + application/x-font-ttf + application/x-web-app-manifest+json + application/xhtml+xml + application/xml + font/opentype + image/svg+xml + image/x-icon + text/css + text/plain + text/x-component; + # text/html is always compressed by HttpGzipModule \ No newline at end of file