diff --git a/roles/nginx-setup/templates/wcs-nginx-server.j2 b/roles/nginx-setup/templates/wcs-nginx-server.j2 index 6f65b53..aaaaf20 100644 --- a/roles/nginx-setup/templates/wcs-nginx-server.j2 +++ b/roles/nginx-setup/templates/wcs-nginx-server.j2 @@ -2,11 +2,13 @@ {% block middle %} location ~ ^/static/(.+)$ { - root /; - try_files {{state_dir}}/$host/static/$1 - {{state_dir}}/$host/theme/static/$1 - {{state_dir}}/collectstatic/$1 - =404; + root /; + try_files {{state_dir}}/tenants/$host/static/$1 + {{state_dir}}/tenants/$host/theme/static/$1 + {{state_dir}}/$host/static/$1 + {{state_dir}}/$host/theme/static/$1 + {{state_dir}}/collectstatic/$1 + =404; } location /static { alias {{state_dir}}/collectstatic/; }