fixed 443 error | 源仓库地址把资源获取修改成国内也可以下载的路径

pull/190/head
itgoyo 2022-10-12 17:34:12 +08:00
parent 35de279e89
commit a62eb619a7
1 changed files with 42 additions and 42 deletions

View File

@ -28,7 +28,7 @@
`Docker`: `Docker`:
wget --no-check-certificate -qO ~/serverstatus-config.json https://raw.githubusercontent.com/cppla/ServerStatus/master/server/config.json && mkdir ~/serverstatus-monthtraffic wget --no-check-certificate -qO ~/serverstatus-config.json https://cdn.jsdelivr.net/gh/cppla/ServerStatus@master/server/config.json && mkdir ~/serverstatus-monthtraffic
docker run -d --restart=always --name=serverstatus -v ~/serverstatus-config.json:/ServerStatus/server/config.json -v ~/serverstatus-monthtraffic:/usr/share/nginx/html/json -p 80:80 -p 35601:35601 cppla/serverstatus:latest docker run -d --restart=always --name=serverstatus -v ~/serverstatus-config.json:/ServerStatus/server/config.json -v ~/serverstatus-monthtraffic:/usr/share/nginx/html/json -p 80:80 -p 35601:35601 cppla/serverstatus:latest
`Docker-compose`: docker-compose up -d `Docker-compose`: docker-compose up -d
@ -36,10 +36,10 @@ docker run -d --restart=always --name=serverstatus -v ~/serverstatus-config.json
【客户端】: 【客户端】:
```bash ```bash
wget --no-check-certificate -qO client-linux.py 'https://raw.githubusercontent.com/cppla/ServerStatus/master/clients/client-linux.py' && nohup python3 client-linux.py SERVER={$SERVER} USER={$USER} PASSWORD={$PASSWORD} >/dev/null 2>&1 & wget --no-check-certificate -qO client-linux.py 'https://cdn.jsdelivr.net/gh/cppla/ServerStatus@master/clients/client-linux.py' && nohup python3 client-linux.py SERVER={$SERVER} USER={$USER} PASSWORD={$PASSWORD} >/dev/null 2>&1 &
eg: eg:
wget --no-check-certificate -qO client-linux.py 'https://raw.githubusercontent.com/cppla/ServerStatus/master/clients/client-linux.py' && nohup python3 client-linux.py SERVER=45.79.67.132 USER=s04 >/dev/null 2>&1 & wget --no-check-certificate -qO client-linux.py 'https://cdn.jsdelivr.net/gh/cppla/ServerStatus@master/clients/client-linux.py' && nohup python3 client-linux.py SERVER=45.79.67.132 USER=s04 >/dev/null 2>&1 &
``` ```
# 手动安装教程: # 手动安装教程: