Make gunicorn listen on ipv6

main
Chris 3 years ago committed by Alexander Graf
parent e1a85a450f
commit 9f6848110a
No known key found for this signature in database
GPG Key ID: B8A9DC143E075629

@ -55,7 +55,7 @@ test_DNS()
start_command=" ".join([ start_command=" ".join([
"gunicorn", "gunicorn",
f"--threads {str(os.cpu_count())}", f"--threads {str(os.cpu_count())}",
"-b :80", "-b [::]:80",
"--logger-class mailu.Logger", "--logger-class mailu.Logger",
"--worker-tmp-dir /dev/shm", "--worker-tmp-dir /dev/shm",
"--access-logfile -" if (log.root.level<=log.INFO) else "", "--access-logfile -" if (log.root.level<=log.INFO) else "",

Loading…
Cancel
Save