Nginx配置jupyter转发
发布日期:2021-07-01 05:57:50 浏览次数:2 分类:技术文章

本文共 449 字,大约阅读时间需要 1 分钟。

修改~/.jupyter/jupyter_notebook_config.py

c.NotebookApp.base_url = '/jupyter'

添加Nginx配置

location /jupyter {	proxy_pass              http://IP:Port;	proxy_set_header        X-Real-IP $remote_addr;	proxy_set_header        Host $host;	proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;	proxy_http_version      1.1;	proxy_set_header        Upgrade $http_upgrade;	proxy_set_header        Connection "upgrade";	proxy_redirect          off;}

转载地址:https://pandora.blog.csdn.net/article/details/104084449 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:jupyter notebook设置密码和数据目录
下一篇:Linux系统启动流程(CentOS)

发表评论

最新留言

哈哈,博客排版真的漂亮呢~
[***.90.31.176]2024年04月09日 19时21分11秒