Last active
July 13, 2020 16:58
-
-
Save RyanDsilva/0dce9c67ccc95b9c0107720c00df7a06 to your computer and use it in GitHub Desktop.
NGINX gzip compression
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
server { | |
... | |
... | |
gzip on; | |
gzip_types text/plain application/xml application/json; | |
gzip_comp_level 9; | |
gzip_min_length 1000; | |
... | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment