From 213665cea235cd2cca816d706cd1894a5d47f2f7 Mon Sep 17 00:00:00 2001 From: Josef 'veloc1ty' Stautner Date: Wed, 11 May 2022 21:00:00 +0200 Subject: [PATCH] gunicorn: Allow ipv6 sockets --- gunicorn.conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gunicorn.conf.py b/gunicorn.conf.py index 7bfaef43e..9c0e5be78 100644 --- a/gunicorn.conf.py +++ b/gunicorn.conf.py @@ -1,6 +1,6 @@ import os -bind = f'0.0.0.0:{os.getenv("PAPERLESS_PORT", 8000)}' +bind = f'[::]:{os.getenv("PAPERLESS_PORT", 8000)}' workers = int(os.getenv("PAPERLESS_WEBSERVER_WORKERS", 2)) worker_class = "paperless.workers.ConfigurableWorker" timeout = 120