D
D
Dmitry2016-05-22 22:02:59
Nginx
Dmitry, 2016-05-22 22:02:59

Nginx how to enable gzip compression for .svg?

Tell me how to enable resource compression using gzip functions for .svg images?
If you can give an example of how it should look in the nginx.conf file
If I understand correctly, you need to add something to the nginx.conf file here:

gzip  on;
    gzip_min_length 5;
    gzip_proxied expired no-cache no-store private auth;
    gzip_types text/css image/x-ico application/pdf image/jpeg video/x-flv image/png image/gif application/javascript application/x-javascript application/x-pointplus application/x-shockwave-flash;

PS. I don't understand much about Nginx settings, so I need your help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rikcon, 2016-05-22
@chigolberi

thissolvedmyproblem.tumblr.com/post/26086061799/ad...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question