Created
November 9, 2015 14:59
-
-
Save ryd994/bf8ebdff6a2d48e05324 to your computer and use it in GitHub Desktop.
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
server { | |
listen unix:/var/run/nginx-gunzip.sock; | |
location / { | |
proxy_set_header Accept-Encoding gzip; | |
proxy_pass http://$host$request_uri; | |
gunzip on; | |
access_log off; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment