遇到nginx报错:websocket wss failed: Error during WebSocket handshake: Unexpected response code: 403 server {listen 6340;location / {proxy_pass http://web;proxy_http_version 1.1; #Nginx在与Node后端通信时使用HTTP/1.1,是WebSockets所必需的proxy_set_header Origin '';proxy_set_header Upgrade $http_u...
配置反向代理后发现访问域名是403,后来检查nginx.conf配置文件后发现,没有添加include xxxxxxx.conf; 添加完毕访问正常!