Created
November 28, 2012 13:21
-
-
Save kgriffs/4161239 to your computer and use it in GitHub Desktop.
nginx gzip
This file contains hidden or 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
# See also: http://arstechnica.com/gadgets/2012/11/how-to-set-up-a-safe-and-secure-web-server/3/ | |
gzip on; | |
gzip_disable "msie6"; | |
gzip_min_length 1100; | |
gzip_vary on; | |
gzip_proxied any; | |
gzip_buffers 16 8k; | |
gzip_types text/plain text/css application/json application/x-javascript | |
text/xml application/xml application/rss+xml text/javascript | |
image/svg+xml application/x-font-ttf font/opentype | |
application/vnd.ms-fontobject; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment