I have this configuration made in nginx from cwp
location /wsapp {
#redirect all HTTP traffic to localhost:8080
proxy_pass http://localhost:8585;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# WebSocket support
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
but the domain config in nginx did not work, I believe the configuration has to be done in the reverse proxy, but I couldn't work, can someone help me and to run a wss websocket