From 0331c0c52c41628c6c3234dedce06af74e8bf752 Mon Sep 17 00:00:00 2001 From: thehrz Date: Sat, 12 Aug 2023 15:29:32 +0800 Subject: [PATCH] pref: update nginx config --- nginx/conf.d/www.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nginx/conf.d/www.conf b/nginx/conf.d/www.conf index 2dd5a44..11b1ef9 100644 --- a/nginx/conf.d/www.conf +++ b/nginx/conf.d/www.conf @@ -14,6 +14,7 @@ server { location / { root /usr/local/nginx/html/; - try_files $uri /index.html; + # try_files $uri /index.html; + index index.html; } } \ No newline at end of file