From 91b883d37f6682468c6c11a516f4d56f63e4f4fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Mon, 14 Jun 2021 21:28:20 +0200 Subject: [PATCH] update wcs nginx configuration for new tenants location (similar to #54860) --- sysadmin-doc/installation-5.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sysadmin-doc/installation-5.md b/sysadmin-doc/installation-5.md index 5fe6493..10eaa7d 100644 --- a/sysadmin-doc/installation-5.md +++ b/sysadmin-doc/installation-5.md @@ -475,7 +475,9 @@ service *authentic2-multitenant.* location ~ ^/static/(.+)$ { root /; - try_files /var/lib/wcs/$host/static/$1 + try_files /var/lib/wcs/tenants/$host/static/$1 + /var/lib/wcs/tenants/$host/theme/static/$1 + /var/lib/wcs/$host/static/$1 /var/lib/wcs/$host/theme/static/$1 /var/lib/wcs/collectstatic/$1 =404; @@ -486,7 +488,8 @@ service *authentic2-multitenant.* location /themes { root /; - try_files /var/lib/wcs/$host$uri + try_files /var/lib/wcs/tenants/$host$uri + /var/lib/wcs/$host$uri /usr/share/wcs/$uri =404; }