Haproxy Prefix redirect with regex match path

hdr(host) is test.com. not https://test.com.