Last active
February 22, 2018 19:10
-
-
Save felipekm/c89de7a9a3e7fdd4cfdfd9b30ccf721a to your computer and use it in GitHub Desktop.
NGINX gzip configuration
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 | |
gzip on; | |
gzip_disable "msie6"; | |
gzip_static always; | |
gzip_comp_level 6; | |
gzip_min_length 1100; | |
gzip_buffers 16 8k; | |
gzip_proxied any; | |
gzip_types | |
text/plain | |
text/css | |
text/js | |
text/xml | |
text/javascript | |
application/javascript | |
application/x-javascript | |
application/json | |
application/xml | |
application/rss+xml | |
image/png | |
image/jpeg | |
image/svg+xml; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment