🚸 improve

This commit is contained in:
naiba
2020-12-10 06:46:31 +08:00
parent b82d26dcae
commit cab07ce8ce
3 changed files with 6 additions and 25 deletions

View File

@@ -52,27 +52,6 @@ sudo ./nezha.sh
websocket
}
```
### 服务器位于大陆常见问题
- Failed to connect to raw.githubusercontent.com
将以下内容写入hosts文件
```
199.232.68.133 raw.githubusercontent.com
```
- 监控端下载慢
监控端主要涉及github域名有github.com及raw.githubusercontent.com将这两个源替换为国内加速源即可
- github.com源替换方案
> sed -i 's/github.com/hub.fastgit.org/g' ./nezha.sh
- raw.githubusercontent.com源替换方案
> sed -i 's/raw.githubusercontent.com/raw.staticdn.net/g' ./nezha.sh
## 系统设计
C/S 采用 gRPC 通信,客户端通过添加主机生成的单独 Token 上报监控信息。因为不会做成多用户的,上报信息会储存到内存中,暂不提供历史数据统计。