Merge pull request #924 from vlcty/enable-ipv6

gunicorn: Allow IPv6 sockets
This commit is contained in:
Quinn Casey 2022-05-11 16:04:06 -07:00 committed by GitHub
commit c126cf2bc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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