Created
September 9, 2015 08:26
-
-
Save Tom32i/c27c6f8f2aa3b54d9d24 to your computer and use it in GitHub Desktop.
GZIP config for Nginx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# Gzip Settings | |
## | |
gzip on; | |
gzip_disable "msie6"; | |
gzip_vary on; | |
gzip_proxied any; | |
gzip_min_length 256; | |
gzip_comp_level 6; | |
gzip_types text/plain text/css application/json application/x-javascript application/javascript text/xml application/xml application/xml+rss text/javascript image/svg+xml application/vnd.ms-fontobject application/x-font-ttf font/opentype; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment