From 996178872a4cb4954b1798c99ab190cdba34fe4b Mon Sep 17 00:00:00 2001 From: thsrite Date: Sat, 15 Jul 2023 12:40:36 +0800 Subject: [PATCH] =?UTF-8?q?fix=20docker=E9=83=A8=E7=BD=B2=E5=90=8E?= =?UTF-8?q?=E5=88=B7=E6=96=B0=E9=A1=B5=E9=9D=A2404?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index 1e038820..590f94bf 100644 --- a/nginx.conf +++ b/nginx.conf @@ -29,8 +29,8 @@ http { # 主目录 expires off; add_header Cache-Control "no-cache, no-store, must-revalidate"; - index index.html; root /app/public; + try_files $uri $uri/ /index.html; } location /assets {