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?by raphy - Nginx Mailing List - English
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/letsencrypt/live/grasp.deals/fullchain.pem; # managed by Certbot ssl_certificate_key /etby raphy - Nginx Mailing List - English
Thank you!!!by raphy - Nginx Mailing List - English
Hi!! Due to some issues in packages installed which caused the freezing of the system, I had to re-install Ubuntu from scratch. Now the previous nginx configuration, which previously worked fine, gives this error: ginx: a duplicate default server for 0.0.0.0:80 in /etc/nginx/conf.d/default.conf:54 nginx: configuration file /etc/nginx/nginx.conf test failed This is /etc/ngiby raphy - Nginx Mailing List - English