Skip to content

Instantly share code, notes, and snippets.

@srgist
Created December 24, 2013 10:16
Show Gist options
  • Save srgist/8111270 to your computer and use it in GitHub Desktop.
Save srgist/8111270 to your computer and use it in GitHub Desktop.
server{
listen 80;
server_name rr.saurabhgaur.com;
location / {
proxy_pass http://127.0.0.1:8787;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment