Skip to content

Instantly share code, notes, and snippets.

@argyleink
Created July 17, 2014 21:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save argyleink/44b9d726819de89ff0cb to your computer and use it in GitHub Desktop.
Save argyleink/44b9d726819de89ff0cb to your computer and use it in GitHub Desktop.
Nginx gzip
# save to /etc/nginx/conf.d/gzip.conf
gzip on;
gzip_proxied any;
gzip_types text/plain text/xml text/css application/x-javascript;
gzip_vary on;
gzip_disable "MSIE [1-6]\.(?!.*SV1)";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment