From dacece505d4cb369e1bb69c8b923b12895d40ba3 Mon Sep 17 00:00:00 2001 From: louis-antoine-etsmtl <61054719+louis-antoine-etsmtl@users.noreply.github.com> Date: Fri, 5 Apr 2024 16:40:40 -0400 Subject: [PATCH] Update default.conf --- nginx/default.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/nginx/default.conf b/nginx/default.conf index 6f33542..595cf1f 100644 --- a/nginx/default.conf +++ b/nginx/default.conf @@ -14,8 +14,13 @@ server { proxy_pass http://backend; } + location /socket.io { + rewrite /backend/(.*) /$1 break; + proxy_pass http://backend; + } + location / { proxy_pass http://frontend; } -} \ No newline at end of file +}