nginx: fix searching /media files in wcs snippet (#54860)

This commit is contained in:
Thomas NOËL 2021-06-16 11:23:14 +02:00
parent 0700a4ced8
commit a1acbc1a76
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ location ~ ^/static/(.+)$ {
}
location ~ ^/media/(.+)$ {
root /;
try_files /var/lib/wcs/tenants/$host/media/$1
/var/lib/wcs/$host/media/$1
=404;