mirror of
https://github.com/frappe/bench.git
synced 2024-11-14 17:24:04 +00:00
Merge branch 'fixes' of github.com:Aradhya-Tripathi/bench into fixes
This commit is contained in:
commit
fd216f952a
@ -80,7 +80,7 @@ server {
|
|||||||
rewrite ^(.+)/index\.html$ $1 permanent;
|
rewrite ^(.+)/index\.html$ $1 permanent;
|
||||||
rewrite ^(.+)\.html$ $1 permanent;
|
rewrite ^(.+)\.html$ $1 permanent;
|
||||||
|
|
||||||
location ~ ^/files/.*.(htm|html|svg|xml) {
|
location ~* ^/files/.*.(htm|html|svg|xml) {
|
||||||
add_header Content-disposition "attachment";
|
add_header Content-disposition "attachment";
|
||||||
try_files /{{ site_name }}/public/$uri @webserver;
|
try_files /{{ site_name }}/public/$uri @webserver;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user