Created
December 14, 2017 03:24
-
-
Save huang-xiao-jian/c6a0901198afabfeb655a65117a5d099 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 on; | |
gzip_min_length 1k; | |
gzip_buffers 4 16k; | |
gzip_http_version 1.1; | |
gzip_comp_level 5; | |
gzip_proxied any; | |
gzip_types text/plain text/css application/javascript application/x-javascript application/xml; | |
gzip_vary on; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment