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

2021-06-10 Thread Maxim Dounin
Hello! On Thu, Jun 10, 2021 at 06:14:03AM -0400, raphy wrote: > In order to use XMPP with websocket, and take advantage of nginx > capabilities to proxy to 443 and to serve multiple domains, I've configured > nginx as follows: > > > server { > listen 443 ssl http2 default_server; >

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

2021-06-10 Thread Sergey Kandaurov
> On 10 Jun 2021, at 16:04, raphy wrote: > > 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 bo

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

2021-06-10 Thread raphy
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? Poste

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

2021-06-10 Thread Sergey Kandaurov
> On 10 Jun 2021, at 13:14, raphy wrote: > > In order to use XMPP with websocket, and take advantage of nginx > capabilities to proxy to 443 and to serve multiple domains, I've configured > nginx as follows: > > >server { >listen 443 ssl http2 default_server; >server_name

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

2021-06-10 Thread raphy
In order to use XMPP with websocket, and take advantage of nginx capabilities to proxy to 443 and to serve multiple domains, I've configured nginx as follows: server { listen 443 ssl http2 default_server; server_name grasp.deals www.grasp.deals; ssl_certificate /etc/le

Re: What's the problem with this nginx configuration?

2021-06-10 Thread raphy
Thank you!!! Posted at Nginx Forum: https://forum.nginx.org/read.php?2,291599,291827#msg-291827 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx