jupyter 使用nginx进行代理的nginx配置文件
server{listen 80;# 80端口需要打开server_name;# 域名或者ip地址location ^~ /{proxy_pass http://127.0.0.1:8888;proxy_set_header host"127.0.0.1:8888";proxy_set_header origin"http://127.0.0.1:8888";proxy_set_header X-Real-IP"127.0.0.1";# WebSocket proxyingproxy_http_version 1.1;proxy_set_header Upgrade$http_upgrade;proxy_set_header Connection"upgrade";}}