Answer the question
In order to leave comments, you need to log in
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;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question