From de5ecf04946e586b7873205f1c13979020b34838 Mon Sep 17 00:00:00 2001 From: louis-antoine-etsmtl <61054719+louis-antoine-etsmtl@users.noreply.github.com> Date: Fri, 5 Apr 2024 17:54:55 -0400 Subject: [PATCH] Update default.conf --- nginx/default.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nginx/default.conf b/nginx/default.conf index 595cf1f..b698731 100644 --- a/nginx/default.conf +++ b/nginx/default.conf @@ -17,6 +17,11 @@ server { location /socket.io { rewrite /backend/(.*) /$1 break; 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 / {