commit | 27eb6da3594eb5a3536773344d277cf1eb3b8476 | [log] [tgz] |
---|---|---|
author | ybt <22301106@bjtu.edu.cn> | Sat Jun 07 20:20:04 2025 +0800 |
committer | ybt <22301106@bjtu.edu.cn> | Sat Jun 07 20:20:04 2025 +0800 |
tree | 87d4e0662bda13da1624070ababd2fd108a7b68e | |
parent | 215afc4091242a391e14287648852c94fa7ca1c2 [diff] [blame] |
build: 更新 Dockerfile 和 Nginx 配置 - 从 /etc/nginx/conf.d/ 目录中删除所有 .conf 文件 - 注释掉 nginx.conf 中的 root 和 index 指令 Change-Id: I5e860734c5b0f595ebce34a0eccf15ddf672a427
diff --git a/nginx.conf b/nginx.conf index f47bcb6..7033752 100644 --- a/nginx.conf +++ b/nginx.conf
@@ -3,8 +3,8 @@ server_name team12.10813352.xyz; # 前端静态文件配置 - root /usr/share/nginx/html; - index index.html; + # root /usr/share/nginx/html; + # index /dist/index.html; # 解决 React Router 单页应用路由问题 location / {