update paperless-ngx to 2.15.3
This commit is contained in:
parent
19d8051391
commit
f72f701a5a
3 changed files with 6 additions and 3 deletions
|
@ -8,8 +8,11 @@ Requires=redis.service
|
|||
User=paperless
|
||||
Group=paperless
|
||||
Environment=PAPERLESS_CONFIGURATION_PATH=/opt/paperless/paperless.conf
|
||||
Environment=GRANIAN_PORT=22070
|
||||
Environment=GRANIAN_WORKERS=4
|
||||
Environment=GRANIAN_HOST=::1
|
||||
WorkingDirectory=/opt/paperless/src/paperless-ngx/src
|
||||
ExecStart=/opt/paperless/venv/bin/gunicorn -c /opt/paperless/src/paperless-ngx/gunicorn.conf.py -b 127.0.0.1:22070 paperless.asgi:application
|
||||
ExecStart=/opt/paperless/venv/bin/granian --interface asginl --ws "paperless.asgi:application"
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
SyslogIdentifier=paperless-webserver
|
||||
|
|
|
@ -99,7 +99,7 @@ def nginx(metadata):
|
|||
'domain': metadata.get('paperless/domain'),
|
||||
'locations': {
|
||||
'/': {
|
||||
'target': 'http://127.0.0.1:22070',
|
||||
'target': 'http://[::1]:22070',
|
||||
'websockets': True,
|
||||
'proxy_set_header': {
|
||||
'X-Forwarded-Host': '$server_name',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue