Skip to content

Instantly share code, notes, and snippets.

@Jaesin
Created November 27, 2016 02:09
Show Gist options
  • Save Jaesin/6087f8db4b376a1bee34a17a7dde3545 to your computer and use it in GitHub Desktop.
Save Jaesin/6087f8db4b376a1bee34a17a7dde3545 to your computer and use it in GitHub Desktop.
Nginx config to create a proxy for jupyter notebook running on :8885
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;
}
}
@zeakey
Copy link

zeakey commented May 24, 2017

I got "502 bad gateway" with your configuration, do you know why?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment