update wcs nginx configuration for new tenants location (similar to #54860)
This commit is contained in:
parent
5911b33a6f
commit
91b883d37f
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue