Update default.conf

This commit is contained in:
louis-antoine-etsmtl 2024-04-05 17:54:55 -04:00 committed by GitHub
parent 231c7e6a3b
commit de5ecf0494
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,6 +17,11 @@ server {
location /socket.io { location /socket.io {
rewrite /backend/(.*) /$1 break; rewrite /backend/(.*) /$1 break;
proxy_pass http://backend; proxy_pass http://backend;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
proxy_hide_header 'Access-Control-Allow-Origin';
} }
location / { location / {