]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
gunicorn: Allow ipv6 sockets 924/head
authorJosef 'veloc1ty' Stautner <hello@veloc1ty.de>
Wed, 11 May 2022 19:00:00 +0000 (21:00 +0200)
committerJosef 'veloc1ty' Stautner <hello@veloc1ty.de>
Wed, 11 May 2022 19:00:00 +0000 (21:00 +0200)
gunicorn.conf.py

index 7bfaef43e6a783c32bf090d90a43116e68e0926a..9c0e5be7817424389baafbb1ebab4dda53c8ad11 100644 (file)
@@ -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