Created
January 3, 2014 19:35
-
-
Save anonymous/8244951 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
location / { | |
proxy_pass http://localhost:8900; | |
proxy_set_header Host $host; | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header X-Forwarded-For $remote_addr; | |
proxy_redirect http://localhost:8900 http://$host/; | |
# proxy_connect_timeout 10; | |
# proxy_read_timeout 15; | |
# proxy_send_timeout 15; | |
# proxy_intercept_errors on; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment