From 52bea9e6568e15868314b919779497493b153f14 Mon Sep 17 00:00:00 2001 From: liuchen <23082234@qq.com> Date: Mon, 5 Feb 2024 14:25:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=A4=B9=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 ++-- nginx.conf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 43bf20e..614dfbc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,5 +3,5 @@ FROM nginx:WIN-1.25.3 WORKDIR /opt/sfms3.0 COPY nginx.conf /usr/local/nginx/conf/nginx.conf -# 将dist文件中的内容复制到 /opt/sfms3.0-view 这个目录下面 -COPY dist/ /opt/sfms3.0-view +# 将dist文件中的内容复制到 /opt/sfms3.0-go-view 这个目录下面 +COPY dist/ /opt/sfms3.0-go-view diff --git a/nginx.conf b/nginx.conf index b338fa0..ba943f3 100644 --- a/nginx.conf +++ b/nginx.conf @@ -38,7 +38,7 @@ http { proxy_cache_valid 200 304 12h; proxy_cache_key $host$uri$is_args$args; try_files $uri $uri/ /index.html; - root /opt/sfms3.0-view; + root /opt/sfms3.0-go-view; index index.html index.htm; } }