From bd5873ecad32665f6ea4a4d448d62719794d0b73 Mon Sep 17 00:00:00 2001 From: henrychoy Date: Fri, 25 Oct 2024 14:17:05 -0400 Subject: [PATCH] fix: resolve refresh bug on when running on docker --- docker/configs/nginx.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docker/configs/nginx.conf b/docker/configs/nginx.conf index 1d81fbc3b..58d8594c7 100644 --- a/docker/configs/nginx.conf +++ b/docker/configs/nginx.conf @@ -14,6 +14,13 @@ events { http { include /etc/nginx/conf.d/http_*.conf; include /etc/nginx/conf.d/https_*.conf; + + server { + listen 80; + location / { + try_files $uri $uri/ /index.html; + } + } } stream {