新人一枚,有不对的地方请指正。

备份一定要做,而且要异地,别问我是怎么知道的。

基本信息

  • 系统:Debian 13
  • 面板:无,纯命令行
  • 带宽:1Gbps 共享
  • 流量:1TB / 月

配置

location /ws {
    proxy_pass http://127.0.0.1:8080;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
}