2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-24 21:19:00 +00:00

Merge pull request #1305 from frappe/barredterra-patch-1

fix: case-insensitive matching
This commit is contained in:
gavin 2022-05-09 11:29:06 +05:30 committed by GitHub
commit 7b62d5f3e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,7 +80,7 @@ server {
rewrite ^(.+)/index\.html$ $1 permanent;
rewrite ^(.+)\.html$ $1 permanent;
location ~ ^/files/.*.(htm|html|svg|xml) {
location ~* ^/files/.*.(htm|html|svg|xml) {
add_header Content-disposition "attachment";
try_files /{{ site_name }}/public/$uri @webserver;
}