socket.io https时nginx 403

daxiong

socket.io
nginx已经如下配置
  location /socket.io
  {
    proxy_pass http://127.0.0.1:2120;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "Upgrade";
    proxy_set_header X-Real-IP $remote_addr;
  }
为什么还会报403呢
 

3751 2 0
2个回答

daxiong

failed: Error during WebSocket handshake: Unexpected response code: 403

walkor 打赏

发下nginx完整配置。
还有workerman的 php start.php status 运行结果截图

  • 暂无评论
年代过于久远,无法发表回答
×
🔝