2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-08 14:21:05 +00:00

Update nginx-template.conf (#828)

This commit is contained in:
Marco 2022-06-24 03:29:27 -03:00 committed by GitHub
parent e731ba1950
commit 2b6c8b6fa9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,10 +60,10 @@ server {
location ~ ^/files/.*.(htm|html|svg|xml) {
add_header Content-disposition "attachment";
try_files /sites/$http_host/public/$uri @webserver;
try_files /sites/${FRAPPE_SITE_NAME_HEADER}/public/$uri @webserver;
}
try_files /sites/$http_host/public/$uri @webserver;
try_files /sites/${FRAPPE_SITE_NAME_HEADER}/public/$uri @webserver;
}
location @webserver {