mirror of
https://github.com/frappe/bench.git
synced 2025-01-26 16:08:23 +00:00
fix: case-insensitive matching
This commit is contained in:
parent
7b8f16bcb4
commit
3f57616803
@ -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…
x
Reference in New Issue
Block a user