How to Configure Gzip Compression on Nginx Server
If you’re familiar with Nginx this configuration will be a breeze. All you have to do is open your nginx.conf file and add the following code in the http section.
http {
...
##
# Gzip Settings
##
gzip on;
gzip_disable "msie6";
gzip_min_length 1100;
gzip_buffers 4 32k;
gzip_types text/plain application/x-javascript text/xml text/css;
gzip_vary on;
...
}
Here’s another article to reference for more verbose instructions. http://www.nginxtips.com/how-to-configure-nginx-gzip-compression/
