How to configure IPython behind nginx in a subpath? How to configure IPython behind nginx in a subpath? nginx nginx

How to configure IPython behind nginx in a subpath?


I had the same problem. I updated nginx up to the current version (1.6.0). It seems to be working now.

Server config:

location /ipython {    proxy_pass http://ipython_server;    proxy_http_version 1.1;    proxy_set_header Upgrade $http_upgrade;    proxy_set_header Connection "upgrade";    proxy_set_header Origin "";}

See: http://nginx.org/en/docs/http/websocket.html