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