|
38 | 38 | - [2. 安装部署](#2-安装部署) |
39 | 39 | - [2.1 快速体验](#21-快速体验) |
40 | 40 | - [2.2 快速部署](#22-快速部署) |
41 | | - - [2.3 服务管理脚本部署](#23-服务管理脚本部署) |
| 41 | + - [2.3 服务管理脚本](#23-服务管理脚本) |
42 | 42 | - [2.4 Railway 部署](#24-railway-部署) |
43 | 43 | - [2.5 Heroku 部署](#25-heroku-部署) |
44 | 44 | - [3. 服务端说明](#3-服务端说明) |
|
59 | 59 | - 多系统支持 `Linux`、`MacOS`、`Windows`、`Android`、`Raspberry Pi` |
60 | 60 | - 支持上下线和简单自定义规则告警 (`telegram`、`wechat`、`email`、`webhook`) |
61 | 61 | - 支持 `http` 协议上报,方便部署到各免费容器服务和配合 `cf` 等优化上报链路 |
| 62 | +- 支持 `cloudflare tunnels` 和 `mTLS` 部署 |
62 | 63 | - 支持主机分组动态注册,简化配置 |
63 | 64 | - 支持 `vnstat` 统计月流量,重启不丢流量数据 |
64 | 65 | - 支持 `railway` 快速部署 |
@@ -143,25 +144,27 @@ ServerStatus-web 主题由 [@mjjrock](https://github.com/mjjrock) 修改提供 |
143 | 144 | # for CentOS/Debian/Ubuntu x86_64 |
144 | 145 | mkdir -p /opt/ServerStatus && cd /opt/ServerStatus |
145 | 146 | # apt install -y unzip / yum install -y unzip |
146 | | -wget --no-check-certificate -qO one-touch.sh 'https://raw.githubusercontent.com/zdz/ServerStatus-Rust/master/one-touch.sh' |
| 147 | +wget --no-check-certificate -qO one-touch.sh 'https://raw.githubusercontent.com/zdz/ServerStatus-Rust/master/scripts/one-touch.sh' |
147 | 148 | bash -ex one-touch.sh |
148 | 149 | # 部署完毕,打开 http://127.0.0.1:8080/ 或 http://<你的IP>:8080/ |
149 | | -# 自定义部署可参照 one-touch.sh 脚本 |
| 150 | +# 自定义部署可参照 scripts/one-touch.sh 脚本 |
150 | 151 | ``` |
151 | 152 |
|
152 | 153 | ### 2.2 快速部署 |
153 | 154 |
|
154 | 155 | 👉 [快速部署](https://doc.ssr.rs/rapid_deploy) |
155 | 156 |
|
156 | | -### 2.3 服务管理脚本部署 |
| 157 | +### 2.3 服务管理脚本 |
157 | 158 |
|
158 | | -[@Colsro](https://github.com/Colsro) 提供 |
| 159 | +<details> |
| 160 | + <summary>服务管理脚本说明</summary> |
159 | 161 |
|
160 | | -[@Yooona-Lim](https://github.com/Yooona-Lim) 更新 |
| 162 | +由 [@Colsro](https://github.com/Colsro) & |
| 163 | +[@Yooona-Lim](https://github.com/Yooona-Lim) 贡献 |
161 | 164 |
|
162 | 165 | ```bash |
163 | 166 | # 下载脚本 |
164 | | -wget --no-check-certificate -qO status.sh 'https://raw.githubusercontent.com/zdz/ServerStatus-Rust/master/status.sh' |
| 167 | +wget --no-check-certificate -qO status.sh 'https://raw.githubusercontent.com/zdz/ServerStatus-Rust/master/scripts/status.sh' |
165 | 168 |
|
166 | 169 | # 安装 服务端 |
167 | 170 | bash status.sh -i -s |
@@ -210,6 +213,7 @@ help: |
210 | 213 | CN=true bash status.sh args |
211 | 214 | ``` |
212 | 215 |
|
| 216 | +</details> |
213 | 217 |
|
214 | 218 | ### 2.4 Railway 部署 |
215 | 219 |
|
@@ -297,7 +301,7 @@ custom_tpl = """ |
297 | 301 |
|
298 | 302 | ### 3.2 服务端运行 |
299 | 303 | ```bash |
300 | | -# systemd 方式, 参照 one-touch.sh 脚本 (推荐) |
| 304 | +# systemd 方式, 参照 scripts/one-touch.sh 脚本 (推荐) |
301 | 305 |
|
302 | 306 | # 💪 手动方式 |
303 | 307 | # help |
@@ -343,7 +347,7 @@ docker-compose up -d |
343 | 347 | # alpine linux 需要安装相关命令 apk add procps iproute2 coreutils |
344 | 348 | # 如果 Rust 版客户端在你的系统无法使用,请切换到下面 4.2 Python 跨平台版本 |
345 | 349 |
|
346 | | -# systemd 方式, 参照 one-touch.sh 脚本 (推荐) |
| 350 | +# systemd 方式, 参照 scripts/one-touch.sh 脚本 (推荐) |
347 | 351 |
|
348 | 352 | # 💪 手动方式 |
349 | 353 | # Rust 版本 Client |
@@ -515,7 +519,7 @@ server { |
515 | 519 |
|
516 | 520 | ```bash |
517 | 521 | # 按提示安装 rust 编译器 |
518 | | -curl https://sh.rustup.rs -sSf | sh |
| 522 | +curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh |
519 | 523 | yum install -y openssl-devel |
520 | 524 | git clone https://github.com/zdz/ServerStatus-Rust.git |
521 | 525 | cd ServerStatus-Rust |
|
0 commit comments