Skip to content

Problem with websocket and my reverse proxy #1056

Closed Answered by canoine
canoine asked this question in Q&A
Discussion options

You must be logged in to vote

Done. Certainly not optimized, but that works. So long, Apache, we'll miss you... T_T

server {
        listen xx:443 ssl;
        listen yy:443 ssl;
        listen zz:443 ssl;
        server_name <supprimé>.org;

        ssl_certificate         /etc/ssl/letsencrypt/<supprimé>/fullchain.pem;
        ssl_certificate_key     /etc/ssl/letsencrypt/<supprimé>/key.pem;
        ssl_prefer_server_ciphers on;

        include /etc/nginx/perso/headers.conf;

        location / {
                proxy_pass http://<supprimé>:8082/;
                include /etc/nginx/perso/proxy.conf;
        }
        location /ws {
                proxy_pass http://<supprimé>:8082/;
                include /etc/nginx…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by canoine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants