Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

gunicorn: Allow ipv6 sockets

Josef 'veloc1ty' Stautner213665cea235
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