在线客服插件 https网站添加代理
Nginx服务器:
location /wss { proxy_pass http://localhost:8282; # 请将该端口号替换为你实际使用的端口 proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; }
Apache服务器:
ProxyPass /wss ws://localhost:8282/
ProxyPassReverse /wss ws://localhost:8282/
以宝塔nginx为例:
打到你的网站->设置->配置文件-》server最下面添加
看看