Last active
August 29, 2015 13:56
-
-
Save pedrospdc/8824935 to your computer and use it in GitHub Desktop.
Proxy pass nginx
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
| 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