From fdf0b93638a83287a6b80863ba4d25820c9ed3e0 Mon Sep 17 00:00:00 2001 From: Donald Zou Date: Thu, 12 Dec 2024 16:34:45 +0800 Subject: [PATCH] Update gunicorn.conf.py --- src/gunicorn.conf.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/gunicorn.conf.py b/src/gunicorn.conf.py index 9e69329..7404eda 100644 --- a/src/gunicorn.conf.py +++ b/src/gunicorn.conf.py @@ -31,9 +31,11 @@ if os.path.exists("./ssl.ini"): if cert and pem and len(cert) > 0 and len(pem) > 0: certfile = cert keyfile = pem - print(f"[WGDashboard] HTTPS enable", flush=True) + print(f"[Gunicorn][HTTPS] Found certificate and private key file", flush=True) + print(f"[Gunicorn][HTTPS] Certificate: ${certfile}", flush=True) + print(f"[Gunicorn][HTTPS] Private Key: ${keyfile}", flush=True) -print(f"[WGDashboard] WGDashboard w/ Gunicorn will be running on {bind}", flush=True) -print(f"[WGDashboard] Access log file is at {accesslog}", flush=True) -print(f"[WGDashboard] Error log file is at {errorlog}", flush=True) +print(f"[Gunicorn] WGDashboard w/ Gunicorn will be running on {bind}", flush=True) +print(f"[Gunicorn] Access log file is at {accesslog}", flush=True) +print(f"[Gunicorn] Error log file is at {errorlog}", flush=True)