mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2024-11-10 08:53:51 +08:00
Update gunicorn.conf.py
This commit is contained in:
parent
3960e43872
commit
9b7887b279
1 changed files with 4 additions and 4 deletions
|
@ -12,10 +12,10 @@ bind = f"{app_host}:{app_port}"
|
|||
daemon = True
|
||||
pidfile = './gunicorn.pid'
|
||||
wsgi_app = "dashboard:app"
|
||||
access_log = f"./log/access_{date}.log"
|
||||
accesslog = f"./log/access_{date}.log"
|
||||
log_level = "debug"
|
||||
capture_output = True
|
||||
error_log = f"./log/error_{date}.log"
|
||||
errorlog = f"./log/error_{date}.log"
|
||||
print(f"[WGDashboard] WGDashboard w/ Gunicorn will be running on {bind}", flush=True)
|
||||
print(f"[WGDashboard] Access log file is at ./log/{access_log}", flush=True)
|
||||
print(f"[WGDashboard] Error log file is at ./log/{error_log}", flush=True)
|
||||
print(f"[WGDashboard] Access log file is at ./log/{accesslog}", flush=True)
|
||||
print(f"[WGDashboard] Error log file is at ./log/{errorlog}", flush=True)
|
||||
|
|
Loading…
Reference in a new issue