From d1b712578662930d39a142660054023873e683c5 Mon Sep 17 00:00:00 2001 From: Bastien DUMONT <bdumont@grandlyon.com> Date: Wed, 17 Apr 2024 11:35:55 +0000 Subject: [PATCH] fix: hmr error --- nginx/site.local.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nginx/site.local.conf b/nginx/site.local.conf index 10882b16..061f4518 100644 --- a/nginx/site.local.conf +++ b/nginx/site.local.conf @@ -7,7 +7,10 @@ server { ssl_ciphers HIGH:!aNULL:!MD5; location / { - proxy_pass https://host.docker.internal:3000; + 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