7474- ** Per-Key 代理** - 为每个凭证单独配置代理
7575
7676### 🔐 安全与管理
77- - ** TLS/ HTTPS 支持 ** - 可选启用 HTTPS 加密通信
77+ - ** HTTPS 部署 ** - 当前版本不内置 TLS,请使用反向代理进行 HTTPS 终止
7878- ** 远程管理 API** - 通过 API 远程管理配置和凭证
7979- ** 访问控制** - 支持 localhost 限制和密钥认证
8080
8888- ` /v1/models ` - 模型列表
8989- ` /v1/messages ` - Anthropic Messages API
9090- ` /v1/messages/count_tokens ` - Token 计数
91+ - ` /health ` - 健康检查
92+ - ` /ready ` - 就绪检查
9193- ` /api/provider/{provider}/v1/* ` - Provider 路由
9294- ` /v0/management/* ` - 远程管理 API
95+ - ` /v0/management/backup ` - 触发数据库备份
96+ - ` /v0/management/restore ` - 从备份恢复
9397
9498---
9599
1351393 . ** 启动服务** - 在 Dashboard 点击"启动服务器"
1361404 . ** 配置客户端** - 在 Cherry-Studio、Cline 等工具中配置:
137141 ```
138- API Base URL: http://localhost:3001 /v1
139- API Key: proxycast-key
142+ API Base URL: http://localhost:8999 /v1
143+ API Key: 启动时自动生成的密钥(可在设置页查看/修改)
140144 ```
141145
142146---
143147
148+ ## 🧰 运维提示
149+
150+ - ** 自动备份** :数据库默认每天自动备份到 ` ~/.proxycast/backups/ ` ,保留 7 天。
151+ - ** 配置备份** :每次写入配置会生成 ` config.yaml.backup ` 以便回滚。
152+ - ** 日志归档** :7 天游离线日志自动压缩,30 天前压缩日志自动清理。
153+ - ** 生产 HTTPS** :当前版本不内置 TLS,生产环境需反向代理终止 HTTPS。
154+
155+ ---
156+
144157## 🔧 API 使用示例
145158
146159### OpenAI Chat Completions
147160
148161``` bash
149- curl http://localhost:3001 /v1/chat/completions \
162+ curl http://localhost:8999 /v1/chat/completions \
150163 -H " Content-Type: application/json" \
151- -H " Authorization: Bearer proxycast -key" \
164+ -H " Authorization: Bearer your-api -key" \
152165 -d ' {
153166 "model": "claude-sonnet-4-5-20250514",
154167 "messages": [
@@ -161,9 +174,9 @@ curl http://localhost:3001/v1/chat/completions \
161174### Anthropic Messages API
162175
163176``` bash
164- curl http://localhost:3001 /v1/messages \
177+ curl http://localhost:8999 /v1/messages \
165178 -H " Content-Type: application/json" \
166- -H " x-api-key: proxycast -key" \
179+ -H " x-api-key: your-api -key" \
167180 -H " anthropic-version: 2023-06-01" \
168181 -d ' {
169182 "model": "claude-sonnet-4-5-20250514",
0 commit comments