From 7995f791ac82085e8c993ffc652c86291cafac7c Mon Sep 17 00:00:00 2001 From: manager Date: Mon, 9 Mar 2026 09:43:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20base/fileserver/default.co?= =?UTF-8?q?nf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base/fileserver/default.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/base/fileserver/default.conf b/base/fileserver/default.conf index 91f2ea7..ae4ae6f 100644 --- a/base/fileserver/default.conf +++ b/base/fileserver/default.conf @@ -6,10 +6,15 @@ server { #access_log /var/log/nginx/host.access.log main; location / { - root /usr/local/app; + root /usr/local/app/pc; try_files $uri /index.html; index index.html index.htm; } + location /mobile { + root /usr/local/app/mobile; + try_files $uri /index.html; + index index.html index.htm; + } error_page 500 502 503 504 /50x.html; location = /50x.html { root /usr/share/nginx/html;