Created
August 7, 2015 16:12
-
-
Save lnoering/e11e071d8c47f26a1a57 to your computer and use it in GitHub Desktop.
Configuração de gzip no vhost.
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
# colocar em /etc/nginx | |
##turn on gzip compreesion | |
gzip on; | |
gzip_static on; | |
gzip_comp_level 9; | |
gzip_min_length 1100; | |
gzip_types text/plain image/png image/gif image/jpeg application/x-javascript text/css text/xml application/xml application/xml+rss text/javascript; | |
gzip_vary on; | |
gzip_http_version 1.1; | |
gzip_disable "MSIE [1-6]\.(?!.*SV1)"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment