Created
November 27, 2016 02:09
-
-
Save Jaesin/6087f8db4b376a1bee34a17a7dde3545 to your computer and use it in GitHub Desktop.
Nginx config to create a proxy for jupyter notebook running on :8885
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
server { | |
listen *:80; | |
server_name jupyter.l; | |
location / { | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header Host $http_host; | |
proxy_pass http://127.0.0.1:8885; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I got "502 bad gateway" with your configuration, do you know why?