From 6e348e7ffb96305f43d278448f344d786c03ea51 Mon Sep 17 00:00:00 2001 From: seahi Date: Tue, 23 Sep 2025 11:06:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=8F=98=E7=9B=AE=E5=BD=95=E7=BB=93?= =?UTF-8?q?=E6=9E=84=EF=BC=8C=E5=A2=9E=E5=8A=A0nginx=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md => 2.4构建镜像/README.md | 0 index.html => 2.4构建镜像/index.html | 0 2.4构建镜像/mysite.conf | 8 ++++++++ styles.css => 2.4构建镜像/styles.css | 0 4 files changed, 8 insertions(+) rename README.md => 2.4构建镜像/README.md (100%) rename index.html => 2.4构建镜像/index.html (100%) create mode 100644 2.4构建镜像/mysite.conf rename styles.css => 2.4构建镜像/styles.css (100%) diff --git a/README.md b/2.4构建镜像/README.md similarity index 100% rename from README.md rename to 2.4构建镜像/README.md diff --git a/index.html b/2.4构建镜像/index.html similarity index 100% rename from index.html rename to 2.4构建镜像/index.html diff --git a/2.4构建镜像/mysite.conf b/2.4构建镜像/mysite.conf new file mode 100644 index 0000000..604b096 --- /dev/null +++ b/2.4构建镜像/mysite.conf @@ -0,0 +1,8 @@ +server { + listen 80 default_server; + + location / { + root /var/www/localhost/htdocs; + index index.html; + } +} diff --git a/styles.css b/2.4构建镜像/styles.css similarity index 100% rename from styles.css rename to 2.4构建镜像/styles.css