清理残留 ini:删除 db.ini/redirect80.ini/example.ini

- db.ini/redirect80.ini:对应服务已迁入 CLI args,ini 为残留
- example.ini:旧 gateway 示例模板,无消费方
- README.md:移除 example.ini 表行
This commit is contained in:
qing committed 2026-08-10 10:09:58 +00:00
1 parent c9e8d04815
commit 42b4a89ed3
4 files changed
-32

No files matched your search

-1
View File
@@ -208,7 +208,6 @@
| 配置文件 | 消费模块 | 依赖强度 |
|----------|----------|----------|
| `gateway.ini` | gateway | confs 拉取(0.7.0 起配置完全迁入) |
| `example.ini` | —(旧 gateway 示例模板) | 无消费方 |
- **部署安全约定**:`confs/configs/*.ini` 含敏感字段,权限必须收紧为 `root:root 0640`,仅 root 可写;被同机普通用户篡改可劫持对应服务(详见 `docs/security/core_SECURITY_AUDIT_20260801.md` 2026-08-10 复审)。原 `ca.ini` 管理员白名单已随 ca v1.1.0 迁入 `core/services.yaml` 的 CLI args;原 `smtp.ini` 全部配置已随 smtp3 迁入 `core/services.yaml` 的 CLI args(SMTP 凭据仍经 `.env` 注入);原 `captcha.ini` 与 `static.ini` 已分别随 captcha2、fsys 迁入 CLI args,防护对象相应转为 `services.yaml` 与 `.env` 的文件权限。
-16
View File
@@ -1,16 +0,0 @@
[server]
host = 127.0.0.1
port = 8005
workers = 4
[database]
url = sqlite:///database.db
[logs]
retention_days = 30
max_records = 1000000
cleanup_interval = 3600
[confs]
host = 127.0.0.1
port = 8010
-10
View File
@@ -1,10 +0,0 @@
# 示例配置 —— 统一配置服务 confs 的配置文件存放目录
# 各微服务的配置文件集中放在本目录,由 confs 通过 pymsg get 路由分发给内部服务。
# 支持类型:.ini / .conf / .cfg / .json / .yaml / .yml / .toml / .txt
[Server]
address = 127.0.0.1
port = 8010
[Feature]
dark_mode = on
-5
View File
@@ -1,5 +0,0 @@
[server]
host = 0.0.0.0
port = 80
redirect_port = 443
redirect_code = 301