配置格式自 v3.0 起生效
主配置位于 config.yaml。
config.yaml
server: host: 0.0.0.0 port: 8080 log: level: info
server.port
log.level
修改后需重启服务。