Created
December 14, 2017 14:44
-
-
Save topleague/b5842e01f592ec883fb99170577533a3 to your computer and use it in GitHub Desktop.
Enable Gzip Compression in Nginx Server
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
gzip on; | |
gzip_comp_level 2; | |
gzip_http_version 1.0; | |
gzip_proxied any; | |
gzip_min_length 1100; | |
gzip_buffers 16 8k; | |
gzip_types text/plain text/html text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript; | |
gzip_disable "MSIE [1-6].(?!.*SV1)"; | |
gzip_vary on; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment