From b6f702e96eddbaf941bd250024e8fb02bbd01f19 Mon Sep 17 00:00:00 2001 From: simple321vip Date: Mon, 31 Oct 2022 19:40:02 +0800 Subject: [PATCH] nginx conf update --- nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx.conf b/nginx.conf index bd2f54e..df47c75 100644 --- a/nginx.conf +++ b/nginx.conf @@ -14,12 +14,12 @@ server { index index.html index.htm; } - location ~ /view { + location /home { alias /usr/share/nginx/html; index index.html index.htm; } - location ~ /home { + location ~ /view { alias /usr/share/nginx/html; index index.html index.htm; }