Skip to content

Instantly share code, notes, and snippets.

@ryd994
Created November 9, 2015 14:59
Show Gist options
  • Save ryd994/bf8ebdff6a2d48e05324 to your computer and use it in GitHub Desktop.
Save ryd994/bf8ebdff6a2d48e05324 to your computer and use it in GitHub Desktop.
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