How to configure IPython behind nginx in a subpath?

后端 未结 1 1335
谎友^
谎友^ 2020-12-23 12:31

I\'ve got nginx running handling all SSL stuff and already proxying / to a Redmine instance and /ci to a Jenkins instanc

相关标签:
1条回答
  • 2020-12-23 13:13

    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

    0 讨论(0)
提交回复
热议问题