From 63d62f37a691023fdc1a6ac2a977c00314e11a7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=89=A1=E8=9B=8E?= Date: Thu, 5 Jun 2025 10:53:40 +0800 Subject: [PATCH] =?UTF-8?q?docs(cleaning):=20=E6=9B=B4=E6=96=B0=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E6=B8=85=E7=90=86=E8=84=9A=E6=9C=AC=E5=92=8C=E7=BD=91?= =?UTF-8?q?=E7=AB=99=E9=85=8D=E7=BD=AE=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 简化了 clean.sh 脚本的注释 - 更新了 37point2.cn 网站配置的安装步骤,增加了创建目录的指令 - 调整了 37point2.cn 网站配置文件的下载顺序,先下载 index.html 再下载 nginx.conf --- bash/clean.sh | 4 ++-- nginx/37point2.cn/README.md | 11 ++++++++--- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/bash/clean.sh b/bash/clean.sh index 536de47..253b26a 100644 --- a/bash/clean.sh +++ b/bash/clean.sh @@ -1,10 +1,10 @@ #!/bin/bash -# Linux 系统清理脚本(含 NAS 系统识别与确认) +# Linux 系统清理脚本 # =============================== # !!! 警告 !!! -# 本脚本不适用于 NAS 系统(如 Synology DSM、TrueNAS、OpenMediaVault 等)。 +# 本脚本不适用于 NAS 系统。 # 如果你在 NAS 上运行,可能会造成系统损坏! # 请谨慎操作! # =============================== diff --git a/nginx/37point2.cn/README.md b/nginx/37point2.cn/README.md index 0809ab1..0f9037d 100644 --- a/nginx/37point2.cn/README.md +++ b/nginx/37point2.cn/README.md @@ -1,14 +1,19 @@ # 37point2.cn +创建目录 + +```bash +mkdir -p /var/www/37point2.cn +``` + 下载配置 ```bash -curl -fsSL https://i.sugarscat.cn/me/script/-/raw/main/nginx/37point2.cn/nginx.conf > /etc/nginx/sites-available/37point2.cn +curl -fsSL https://i.sugarscat.cn/me/script/-/raw/main/nginx/37point2.cn/index.html > /var/www/37point2.cn/index.html ``` ```bash -mkdir -p /opt/www/37point2.cn -curl -fsSL https://i.sugarscat.cn/me/script/-/raw/main/nginx/37point2.cn/index.html > /opt/www/37point2.cn/index.html +curl -fsSL https://i.sugarscat.cn/me/script/-/raw/main/nginx/37point2.cn/nginx.conf > /etc/nginx/sites-available/37point2.cn ``` 启用配置