mirror of
https://github.com/frappe/bench.git
synced 2024-11-12 08:16:28 +00:00
Merge pull request #1305 from frappe/barredterra-patch-1
fix: case-insensitive matching
This commit is contained in:
commit
7b62d5f3e2
@ -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