gzip compression nginx code example
Example: overall configuration gzip compression with nginx
server {
gzip on;
gzip_types text/plain application/xml;
gzip_proxied no-cache no-store private expired auth;
gzip_min_length 1000;
...
}