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/Dockerfile b/Dockerfile index f37ae8d..940105e 100644 --- a/Dockerfile +++ b/Dockerfile
@@ -16,6 +16,7 @@ COPY dist /usr/share/nginx/html COPY 50x.html /usr/share/nginx/html +RUN rm -f /etc/nginx/conf.d/*.conf # 复制 Nginx 配置文件 COPY nginx.conf /etc/nginx/conf.d/default.conf