Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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