Loading... > 主要是记录其中困扰我许久的一个坑,就是宝塔面板上nginx配置websocket。 >  环境: 1. win10(内网/frpc)+ Ubuntu(公网/frps) 2. 宝塔面板 #### 一、jupyter远程访问(翻归档) #### 二、frp配置 > 仅写最简配置,更多可参见[frp官方文档](https://github.com/fatedier/frp/blob/master/README_zh.md) frps: ``` [common] bind_port = 7000 vhost_http_port = 8080 ``` frpc: ``` [common] server_addr = x.x.x.x server_port = 7000 [jupyter] type = http local_port = 80 #jupyter-notebook所使用的端口 custom_domains = www.yourdomain.com ``` #### 三、宝塔面板配置 1. 反向代理 2. nginx配置websocket(不配置就会出现我那种情况) Last modification:October 21, 2020 © Allow specification reprint Like