- fsys.py 启动时优先从 confs(127.0.0.1:8010)拉取 static.ini, 支持 CONFS_HOST/CONFS_PORT 环境变量覆盖 - confs 不可用时 fail-safe 回退本地 config.ini - static.ini 纳入 confs/configs/ 统一分发
18 lines
407 B
INI
18 lines
407 B
INI
[server]
|
|
host = 127.0.0.1
|
|
port = 9200
|
|
|
|
[directory]
|
|
root = ./public
|
|
|
|
[ssl]
|
|
enabled = false
|
|
cert_file = cert.pem
|
|
key_file = key.pem
|
|
|
|
[cors]
|
|
# 允许跨域的 Origin 白名单(逗号分隔)
|
|
# 注意:生产环境请勿包含 localhost / 127.0.0.1 / 通配符 *
|
|
# 本地开发联调时可临时追加 http://localhost:9200,调试完务必移除
|
|
allowed_origins = https://qsont.me,https://yhdet.top
|