Created
June 28, 2019 22:15
-
-
Save pastranastevenaz/996aee8310068addbb59520d6ced37ab 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_vary on; | |
| gzip_proxied any; | |
| gzip_comp_level 6; | |
| gzip_http_version 1.1; | |
| gzip_min_length 256; | |
| gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript application/vnd.ms-fontobject application/x-font-ttf font/opentype image/svg+xml image/x-icon; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment