From fa59c547a9bdd52eafff5fda1c9848557a489328 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sun, 23 May 2021 18:11:57 +0200 Subject: [PATCH] nodes/home.paperless: add vhost extras for static files --- data/nginx/files/extras/home.paperless/paperless | 3 +++ nodes/home/paperless.py | 1 + 2 files changed, 4 insertions(+) create mode 100644 data/nginx/files/extras/home.paperless/paperless diff --git a/data/nginx/files/extras/home.paperless/paperless b/data/nginx/files/extras/home.paperless/paperless new file mode 100644 index 0000000..1aa1b28 --- /dev/null +++ b/data/nginx/files/extras/home.paperless/paperless @@ -0,0 +1,3 @@ + location /static/ { + alias /opt/paperless/static/; + } diff --git a/nodes/home/paperless.py b/nodes/home/paperless.py index ae8fbf8..aa9fccf 100644 --- a/nodes/home/paperless.py +++ b/nodes/home/paperless.py @@ -46,6 +46,7 @@ nodes['home.paperless'] = { }, }, }, + 'extras': True, }, }, },