socket.io https时nginx 403

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呢
 
已邀请:

daxiong

赞同来自:

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

walkor

赞同来自:

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

要回复问题请先登录注册