fix: Update gunicorn config to log to stdout/stderr for Docker

This commit is contained in:
super committed 2026-03-03 12:18:01 +08:00
1 parent 3a6e82bb03
commit b48f1e592a
1 file changed
+3 -2
+3 -2
View File
@@ -26,8 +26,9 @@ timeout = 120
keepalive = 5
# 日志
accesslog = "/var/log/hxops/access.log"
errorlog = "/var/log/hxops/error.log"
# 在 Docker 环境中,推荐输出到 stdout/stderr
accesslog = "-"
errorlog = "-"
loglevel = "info"
# 守护进程模式 (由 Supervisor 管理时通常设为 False)