diff --git a/config.yaml b/config.yaml index 4eb3a48..f4b0858 100644 --- a/config.yaml +++ b/config.yaml @@ -2,8 +2,10 @@ server: host: "0.0.0.0" # 监听地址,0.0.0.0 表示所有网卡 port: 8080 + sock: "web.sock" # unix socket 文件路径,留空表示不启用 mode: debug # gin 运行模式: debug / release / test + log: level: info # 日志级别: debug / info / warn / error access_log: true # 是否输出 HTTP 访问日志