update paperless-ngx to 2.15.3

This commit is contained in:
Franzi 2025-04-23 10:57:24 +02:00
parent 19d8051391
commit f72f701a5a
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 6 additions and 3 deletions

View file

@ -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

View file

@ -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',