Skip to content

Instantly share code, notes, and snippets.

@swordray
Last active December 16, 2015 13:11
Show Gist options
  • Save swordray/9706492 to your computer and use it in GitHub Desktop.
Save swordray/9706492 to your computer and use it in GitHub Desktop.
Nginx GZip configuration
gzip on;
gzip_comp_level 9;
gzip_min_length 1024;
gzip_buffers 4 8k;
gzip_types application/javascript application/json application/x-javascript application/xml text/css text/csv text/plain;
gzip_disable "MSIE [1-6]\.";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment