Program I have tested through
the following is the configuration of nginx forwarding
I don"t understand
websocket service I opened a websocket service using gatewayworker
Why is http in forwarding
if I visit this address directly, he will prompt for an error
location /wss
{
proxy_pass http://127.0.0.1:8585;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header X-Real-IP $remote_addr;
}
what is the principle of this?