Last active
October 12, 2015 14:16
-
-
Save seanhandley/7240a2b98668a4977530 to your computer and use it in GitHub Desktop.
NginX GZIP
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
# ... | |
http { | |
# ... | |
## | |
# Gzip Settings | |
## | |
gzip on; | |
gzip_disable "msie6"; | |
gzip_vary on; | |
gzip_proxied any; | |
gzip_comp_level 6; | |
gzip_buffers 16 8k; | |
gzip_http_version 1.1; | |
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript; | |
# ... | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment