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 proxying
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}
jupyter 使用nginx进行代理的nginx配置文件
最新推荐文章于 2024-08-09 07:02:21 发布