Linux
server {
listen 80 default_server;
location / {
proxy_pass http://localhost:{{ jupyter_server_port }};
proxy_set_header Host $host;
}
location /api/kernels/ {
proxy_pass http://localhost:{{ jupyter_server_port }};
proxy_set_header Host $host;
# websocket support
proxy_http_version 1.1;
proxy_set_header Upgrade "websocket";
proxy_set_header Connection "Upgrade";
proxy_read_timeout 86400;
}
}
Last updated
Was this helpful?