1

I need haproxy to redirect product.company.com to company.com/about/product

acl newproduct hdr(host) –i product.company.com
redirect location http://company.com/about/product if newproduct

I know I'm hitting the server, but it never redirects. I've tried hdr_beg(host) product, and that didn't work. What am I missing?

0

The redirect is correct. haproxy didn't like the location of the redirect.

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.