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

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

2021-06-10 Thread raphy
e $http_upgrade; proxy_set_header Connection "upgrade"; } location /weights { root /home/raphy/www; try_files $uri $uri/ =404; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_s

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

What's the problem with this nginx configuration?

2021-05-22 Thread raphy
location /weights { root /home/raphy/www; try_files $uri $uri/ =404; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; # Following is necessary for Websocket support pr