diff --git a/README.md b/README.md index 21bc73d..6ce7500 100755 --- a/README.md +++ b/README.md @@ -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` 的文件权限。 diff --git a/confs/configs/db.ini b/confs/configs/db.ini deleted file mode 100644 index 595ce8b..0000000 --- a/confs/configs/db.ini +++ /dev/null @@ -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 diff --git a/confs/configs/example.ini b/confs/configs/example.ini deleted file mode 100644 index cbb1dd4..0000000 --- a/confs/configs/example.ini +++ /dev/null @@ -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 diff --git a/confs/configs/redirect80.ini b/confs/configs/redirect80.ini deleted file mode 100644 index 8f122c3..0000000 --- a/confs/configs/redirect80.ini +++ /dev/null @@ -1,5 +0,0 @@ -[server] -host = 0.0.0.0 -port = 80 -redirect_port = 443 -redirect_code = 301