Update nginx-template.conf (#828)
This commit is contained in:
parent
e731ba1950
commit
2b6c8b6fa9
@ -60,10 +60,10 @@ server {
|
|||||||
|
|
||||||
location ~ ^/files/.*.(htm|html|svg|xml) {
|
location ~ ^/files/.*.(htm|html|svg|xml) {
|
||||||
add_header Content-disposition "attachment";
|
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 {
|
location @webserver {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user