From 9f6848110a866f49df9dd8e89986c2b747e61a60 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 9 Mar 2022 13:10:24 +0100 Subject: [PATCH] Make gunicorn listen on ipv6 --- core/admin/start.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/admin/start.py b/core/admin/start.py index 0d7f2110..c5b3bc23 100755 --- a/core/admin/start.py +++ b/core/admin/start.py @@ -55,7 +55,7 @@ test_DNS() start_command=" ".join([ "gunicorn", f"--threads {str(os.cpu_count())}", - "-b :80", + "-b [::]:80", "--logger-class mailu.Logger", "--worker-tmp-dir /dev/shm", "--access-logfile -" if (log.root.level<=log.INFO) else "",