Skip to content

Instantly share code, notes, and snippets.

@pedrospdc
Last active August 29, 2015 13:56
Show Gist options
  • Save pedrospdc/8824935 to your computer and use it in GitHub Desktop.
Save pedrospdc/8824935 to your computer and use it in GitHub Desktop.
Proxy pass nginx
proxy_pass http://localhost:5000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-for $remote_addr;
proxy_connect_timeout 300;
port_in_redirect off;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment