优化沙箱环境增加Jupter,暴露,更加方便管理环境
This commit is contained in:
@@ -97,6 +97,15 @@ server {
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
location /jupyterlab/ {
|
||||
proxy_pass http://127.0.0.1:8888/lab/;
|
||||
proxy_redirect off;
|
||||
proxy_set_header X-Original-Prefix '/lab';
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
location /socket.io {
|
||||
proxy_pass http://127.0.0.1:3002;
|
||||
proxy_read_timeout 300s;
|
||||
|
||||
Reference in New Issue
Block a user