diff --git a/.env b/.env index b081852..8ab5370 100644 --- a/.env +++ b/.env @@ -1,5 +1,5 @@ # 端口号 -VITE_PORT = 80 +VITE_PORT = 5000 # 网站标题 VITE_GLOB_APP_TITLE = 预警诊断系统 diff --git a/scripts/nginx.conf b/scripts/nginx.conf index 6bca1e7..caf2d4f 100644 --- a/scripts/nginx.conf +++ b/scripts/nginx.conf @@ -33,7 +33,7 @@ http { } # 代理 API 请求到后端容器 - location /api/ { + location /admin-api/ { proxy_pass http://127.0.0.1:48080; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr;