diff --git a/templates/nginx.conf.j2 b/templates/nginx.conf.j2 index 4ec1de1..cb187d8 100644 --- a/templates/nginx.conf.j2 +++ b/templates/nginx.conf.j2 @@ -41,13 +41,15 @@ http { keepalive_requests {{ nginx_keepalive_requests }}; server_tokens {{ nginx_server_tokens }}; - #gzip on; - {% if nginx_proxy_cache_path %} proxy_cache_path {{ nginx_proxy_cache_path }}; {% endif %} {% endblock %} +{% block http_gzip %} + # gzip on; +{% endblock %} + {% if nginx_extra_http_options %} {{ nginx_extra_http_options|indent(4, False) }} {% endif %}