jupyter 使用nginx进行代理的nginx配置文件

发布时间:2026/7/28 18:55:49
jupyter 使用nginx进行代理的nginx配置文件 server{listen 80;# 80端口需要打开server_name;# 域名或者ip地址location ^~ /{proxy_pass http://127.0.0.1:8888;proxy_set_header host127.0.0.1:8888;proxy_set_header originhttp://127.0.0.1:8888;proxy_set_header X-Real-IP127.0.0.1;# WebSocket proxyingproxy_http_version 1.1;proxy_set_header Upgrade$http_upgrade;proxy_set_header Connectionupgrade;}}