Skip to content

Commit

Permalink
fix: case-insensitive matching
Browse files Browse the repository at this point in the history
  • Loading branch information
barredterra authored May 6, 2022
1 parent 7b8f16b commit 3f57616
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bench/config/templates/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 3f57616

Please sign in to comment.