fix: Update gunicorn config to log to stdout/stderr for Docker
This commit is contained in:
1 parent
3a6e82bb03
commit
b48f1e592a
1 file changed
+3
-2
@@ -26,8 +26,9 @@ timeout = 120
|
|||||||
keepalive = 5
|
keepalive = 5
|
||||||
|
|
||||||
# 日志
|
# 日志
|
||||||
accesslog = "/var/log/hxops/access.log"
|
# 在 Docker 环境中,推荐输出到 stdout/stderr
|
||||||
errorlog = "/var/log/hxops/error.log"
|
accesslog = "-"
|
||||||
|
errorlog = "-"
|
||||||
loglevel = "info"
|
loglevel = "info"
|
||||||
|
|
||||||
# 守护进程模式 (由 Supervisor 管理时通常设为 False)
|
# 守护进程模式 (由 Supervisor 管理时通常设为 False)
|
||||||
|
|||||||
Reference in new issue
Block a user