refactor: 更新脚本下载链接为新的 GitLab 地址
- 将 Gitee 上的脚本下载链接替换为 GitLab 上的最新链接 - 更新了多个文件中的 curl 命令以使用新的 URL - 此更改统一了脚本的来源,便于维护和更新
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
下载配置
|
||||
|
||||
```bash
|
||||
curl -fsSL https://gitee.com/Sugarscat/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/nginx.conf > /etc/nginx/sites-available/37point2.cn
|
||||
```
|
||||
|
||||
```bash
|
||||
|
||||
@@ -31,7 +31,7 @@ systemctl status nginx
|
||||
下载配置
|
||||
|
||||
```bash
|
||||
curl -fsSL https://gitee.com/Sugarscat/script/raw/main/nginx/nginx.conf > /etc/nginx/nginx.conf
|
||||
curl -fsSL https://i.sugarscat.cn/me/script/-/raw/main/nginx/nginx.conf > /etc/nginx/nginx.conf
|
||||
```
|
||||
|
||||
测试配置
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
下载配置
|
||||
|
||||
```bash
|
||||
curl -fsSL https://gitee.com/Sugarscat/script/raw/main/nginx/example/nginx.conf > /etc/nginx/sites-available/example.com
|
||||
curl -fsSL https://i.sugarscat.cn/me/script/-/raw/main/nginx/example/nginx.conf > /etc/nginx/sites-available/example.com
|
||||
```
|
||||
|
||||
启用配置
|
||||
|
||||
@@ -7,7 +7,7 @@ mkdir -p /opt/www/note && cd /opt/www/note
|
||||
```
|
||||
|
||||
```bash
|
||||
curl -fsSL https://gitee.com/Sugarscat/script/raw/main/nginx/note.sugarscat.cn/deploy.sh > deploy.sh && chmod +x deploy.sh
|
||||
curl -fsSL https://i.sugarscat.cn/me/script/-/raw/main/nginx/note.sugarscat.cn/deploy.sh > deploy.sh && chmod +x deploy.sh
|
||||
```
|
||||
|
||||
## 定时执行脚本
|
||||
@@ -35,7 +35,7 @@ crontab -l
|
||||
下载配置
|
||||
|
||||
```bash
|
||||
curl -fsSL https://gitee.com/Sugarscat/script/raw/main/nginx/note.sugarscat.cn/nginx.conf > /etc/nginx/sites-available/note.sugarscat.cn
|
||||
curl -fsSL https://i.sugarscat.cn/me/script/-/raw/main/nginx/note.sugarscat.cn/nginx.conf > /etc/nginx/sites-available/note.sugarscat.cn
|
||||
```
|
||||
|
||||
启用配置
|
||||
|
||||
Reference in New Issue
Block a user