From: Josef 'veloc1ty' Stautner Date: Wed, 11 May 2022 19:00:00 +0000 (+0200) Subject: gunicorn: Allow ipv6 sockets X-Git-Tag: v1.8.0-beta.rc1~116^2 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F924%2Fhead;p=thirdparty%2Fpaperless-ngx.git gunicorn: Allow ipv6 sockets --- diff --git a/gunicorn.conf.py b/gunicorn.conf.py index 7bfaef43e6..9c0e5be781 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