From 294efc74fdee74c95fa7e8f823006691ca5b0199 Mon Sep 17 00:00:00 2001 From: thehrz Date: Fri, 11 Aug 2023 23:19:02 +0800 Subject: [PATCH] pref: update nginx config --- nginx/conf.d/www.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx/conf.d/www.conf b/nginx/conf.d/www.conf index 2dd5a44..2c9d229 100644 --- a/nginx/conf.d/www.conf +++ b/nginx/conf.d/www.conf @@ -14,6 +14,6 @@ server { location / { root /usr/local/nginx/html/; - try_files $uri /index.html; + try_files $uri $uri.html $uri/ =404; } } \ No newline at end of file