So, I want redirects like these to work:
- example.com/QWER → example.com/qwer
- example.com/Qwer → example.com/qwer
- example.com/QwEr → example.com/qwer
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!