Haproxy, how to use case insensitive redirects map?

So, I want redirects like these to work:

What I have tried:

http-request redirect location %[path,lower,map_str(/usr/local/etc/haproxy/website-redirects.map)] code 301 if { path,lower,map_str(/usr/local/etc/haproxy/website-redirects.map) }

And different combinations: with “map_reg”, without “lower”, using -i etc.

Thanks in advance!