fix up gunicorn conf

This commit is contained in:
jonaswinkler 2020-12-29 18:23:08 +01:00
parent 2b341afcae
commit 5c3ae44021
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
bind = '[::]:8000'
bind = ['[::]:8000', 'localhost:8000']
backlog = 2048
workers = 3
worker_class = 'sync'

View File

@ -8,7 +8,7 @@ loglevel=info ; log level; default info; others: debug,warn,trace
user=root
[program:gunicorn]
command=gunicorn -c /usr/src/paperless/gunicorn.conf.py -b '[::]:8000' paperless.wsgi
command=gunicorn -c /usr/src/paperless/gunicorn.conf.py paperless.wsgi
user=paperless
stdout_logfile=/dev/stdout