Nginx Configuration for websocket: Error during WebSocket handshake: Unexpected response code: 403

raphy nginx-forum at forum.nginx.org
Thu Jun 10 13:04:29 UTC 2021


Hi Sergey

The nginx configuration I used for /xmpp-websocket location, taken from
here: https://prosody.im/doc/websocket , follows the official nginx
indications: https://nginx.org/en/docs/http/websocket.html

If nginx doesn't support bootstrapping WebSockets with HTTP/2, what should 
I do?

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,291828,291830#msg-291830



More information about the nginx mailing list