All checks were successful
Build and Release / build-and-test (arm64, alpine) (push) Successful in -13s
Build and Release / build-and-test (amd64, alpine) (push) Successful in -6s
Build and Release / build-and-test (arm64, ubuntu) (push) Successful in -7s
Build and Release / build-and-test (amd64, ubuntu) (push) Successful in 7s
Build and Release / release (push) Successful in 21s
- 将 Debian 包仓库从 bookworm/trixie 双发行版改为通用 stable 仓库 - 新增完整的 llmdoc 文档系统,包含架构、指南和参考文档 - 更新 README.md 和部署指南以反映新的仓库配置 - 添加 .gitignore 文件
970 B
970 B
XXXigCC Proxy 配置指南
配置文件基础
配置文件使用 JSON 格式,位置取决于安装方式:
- Debian 包:
/etc/xxxigcc-proxy/config.json - 二进制版本:
./config.json
主要配置选项
1. 网络监听配置
{
"bind": "0.0.0.0:3333" // 监听所有网络接口,端口3333
}
2. 矿池配置示例
{
"pools": [
{
"url": "pool.example.com:3333",
"user": "your_wallet_address",
"pass": "x"
}
]
}
3. 日志配置
{
"log-file": "/var/log/xxxigcc-proxy/proxy.log",
"access-log-file": "/var/log/xxxigcc-proxy/access.log"
}
最佳实践
- 使用强密码或 token
- 限制网络访问
- 定期轮换日志
- 监控系统资源使用情况
配置验证
# 检查配置语法
xxxigcc-proxy --config=config.json --test
# 查看当前配置
xxxigcc-proxy --config=config.json --print-config