From 8fb249f52c2a37cb94eb6cdbb8e69cd18caea139 Mon Sep 17 00:00:00 2001
From: Bastien Dumont <bdumont@grandlyon.com>
Date: Mon, 15 Apr 2024 16:31:38 +0200
Subject: [PATCH] fix: hmr error

---
 nginx/site.local.conf | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/nginx/site.local.conf b/nginx/site.local.conf
index 10882b16..ba8486cd 100644
--- a/nginx/site.local.conf
+++ b/nginx/site.local.conf
@@ -8,6 +8,9 @@ server {
 
         location / {
             proxy_pass https://host.docker.internal:3000;
+            proxy_http_version 1.1;
+            proxy_set_header Upgrade $http_upgrade;
+            proxy_set_header Connection "upgrade";
         }
         location /api {  
             proxy_pass https://host.docker.internal:1443/api;
-- 
GitLab