2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-14 09:14:04 +00:00

Merge branch 'fixes' of github.com:Aradhya-Tripathi/bench into fixes

This commit is contained in:
Aradhya 2022-05-10 02:06:44 +05:30
commit fd216f952a

View File

@ -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;
} }