Actually enable the gzip compression when told.
This commit is contained in:
parent
7e53ab855b
commit
b256e76017
|
@ -1,3 +1,8 @@
|
|||
{% if nginx_enable_compression %}
|
||||
gzip on;
|
||||
{% else %}
|
||||
gzip off;
|
||||
{% endif %}
|
||||
gzip_vary {{ nginx_gzip_vary }};
|
||||
gzip_proxied {{ nginx_gzip_proxied }};
|
||||
gzip_comp_level {{ nginx_gzip_comp_level }};
|
||||
|
|
Loading…
Reference in New Issue