Skip to content

Instantly share code, notes, and snippets.

@ahmadazimi
Created July 2, 2015 13:27
Show Gist options
  • Save ahmadazimi/3e02202210dad66561a7 to your computer and use it in GitHub Desktop.
Save ahmadazimi/3e02202210dad66561a7 to your computer and use it in GitHub Desktop.
Nginx gzip configuration file.
gzip on;
gzip_static on;
gzip_proxied any;
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript font/ttf application/vnd.ms-fontobject application/x-font-ttf font/opentype image/svg+xml;
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