13 lines
405 B
Python
13 lines
405 B
Python
# 并行工作线程数
|
||
workers = 1
|
||
# 监听内网端口5000【按需要更改】
|
||
bind = '0.0.0.0:80'
|
||
# 设置守护进程【关闭连接时,程序仍在运行】
|
||
daemon = True
|
||
# 设置超时时间120s,默认为30s。按自己的需求进行设置
|
||
timeout = 120
|
||
# 设置访问日志和错误信息日志路径
|
||
accesslog = './logs/acess.log'
|
||
errorlog = './logs/error.log'
|
||
#自动重启
|
||
autostart = True |