roles/nginx: Add image/svg+xml to gzip types

Google's PageSpeed Insights tool pointed out that the Genericons
in WordPress' Jetpack module could be compressed.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
Alan Orth 2016-03-12 19:16:23 +02:00
parent 926cdf58cf
commit c6cc1f57bb
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -34,7 +34,7 @@ http {
gzip_min_length 860; gzip_min_length 860;
gzip_disable "msie6"; gzip_disable "msie6";
gzip_http_version 1.1; gzip_http_version 1.1;
gzip_types text/plain text/css text/xml application/rss+xml application/javascript; gzip_types text/plain text/css text/xml application/rss+xml application/javascript image/svg+xml;
client_max_body_size 12m; client_max_body_size 12m;