在nginx中对应域名的location下需要加配置,将短链接升级为长连接
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
在nginx中对应域名的location下需要加配置,将短链接升级为长连接
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";