Skip to content

Improve redirects with map files

http-request redirect location %[capture.req.uri,map(/etc/haproxy/redirect.map)] code 301 if { capture.req.uri,map(/etc/haproxy/redirect.map) -m found }

# Map File:
/some_old_page.html /some_new_page.html
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information