项目名称是 CodeServer
https://github.com/cdr/code-server
上传到指定文件夹后解压
cd 到路径
./code-server --port 8080 --host 0.0.0.0 --auth password
密码是明文
![部署在线版本vscode给ipad等移动设备使用 https://www.xnpu.top/wp-content/uploads/2021/04/Snipaste_2021-04-25_23-10-33.png](https://www.xnpu.top/wp-content/uploads/2021/04/Snipaste_2021-04-25_23-10-33.png)
配置文件路径 /root/.config/code-server
关于ssl
需要使用NGINX反向代理内网地址
代理配置必须加上两行,否则白屏无法加载
proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection upgrade;
套上CDN 如此
发表回复