ansible-role-nginx/templates/nginx-compression.conf.j2

12 lines
316 B
Plaintext
Raw Normal View History

{% if nginx_enable_compression %}
gzip on;
{% else %}
gzip off;
{% endif %}
2020-06-02 14:52:24 +02:00
gzip_vary {{ nginx_gzip_vary }};
gzip_proxied {{ nginx_gzip_proxied }};
gzip_comp_level {{ nginx_gzip_comp_level }};
gzip_buffers {{ nginx_gzip_buffers }};
gzip_http_version {{ nginx_gzip_http_version }};
gzip_types {{ nginx_gzip_types }};