Files
xxxigcc-proxy/llmdoc/guides/how-to-configure.md
Wang Defa 9afe4a8649
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 发布流程并添加项目文档系统
- 将 Debian 包仓库从 bookworm/trixie 双发行版改为通用 stable 仓库
- 新增完整的 llmdoc 文档系统,包含架构、指南和参考文档
- 更新 README.md 和部署指南以反映新的仓库配置
- 添加 .gitignore 文件
2025-12-25 10:18:07 +08:00

57 lines
970 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# XXXigCC Proxy 配置指南
## 配置文件基础
配置文件使用 JSON 格式,位置取决于安装方式:
- Debian 包:`/etc/xxxigcc-proxy/config.json`
- 二进制版本:`./config.json`
## 主要配置选项
### 1. 网络监听配置
```json
{
"bind": "0.0.0.0:3333" // 监听所有网络接口端口3333
}
```
### 2. 矿池配置示例
```json
{
"pools": [
{
"url": "pool.example.com:3333",
"user": "your_wallet_address",
"pass": "x"
}
]
}
```
### 3. 日志配置
```json
{
"log-file": "/var/log/xxxigcc-proxy/proxy.log",
"access-log-file": "/var/log/xxxigcc-proxy/access.log"
}
```
## 最佳实践
1. 使用强密码或 token
2. 限制网络访问
3. 定期轮换日志
4. 监控系统资源使用情况
## 配置验证
```bash
# 检查配置语法
xxxigcc-proxy --config=config.json --test
# 查看当前配置
xxxigcc-proxy --config=config.json --print-config
```