mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-06 06:45:05 +01:00
update configuration
This commit is contained in:
parent
a0a781a3d5
commit
7414b3d23a
7 changed files with 167 additions and 100 deletions
|
|
@ -1,7 +1,7 @@
|
|||
bind = '0.0.0.0:8000'
|
||||
backlog = 2048
|
||||
workers = 3
|
||||
worker_class = 'sync'
|
||||
worker_class = 'uvicorn.workers.UvicornWorker'
|
||||
worker_connections = 1000
|
||||
timeout = 20
|
||||
keepalive = 2
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ logfile_backups=10 ; # of main logfile backups; 0 means none, default
|
|||
loglevel=info ; log level; default info; others: debug,warn,trace
|
||||
user=root
|
||||
|
||||
[program:daphne]
|
||||
command=daphne -b 0.0.0.0 -p 8000 paperless.asgi:application
|
||||
[program:gunicorn]
|
||||
command=gunicorn -c /usr/src/paperless/gunicorn.conf.py paperless.asgi:application
|
||||
user=paperless
|
||||
|
||||
stdout_logfile=/dev/stdout
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue