Created
October 22, 2014 12:10
-
-
Save andreisebastianc/d89a0c3a2f7f77a53f37 to your computer and use it in GitHub Desktop.
nginx.conf sample for easy dev
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
location / { | |
proxy_pass http://127.0.0.1:9000; | |
} | |
location /api { | |
proxy_pass_header Set-Cookie; | |
proxy_pass https://XXXXXXX/api; | |
} | |
location /realtime { | |
proxy_pass https://XXXXXXX/realtime; | |
proxy_http_version 1.1; | |
proxy_set_header Upgrade $http_upgrade; | |
proxy_set_header Connection "upgrade"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment