0

HAProxy : HTTP Header re-write

Hi, How can i rewrite a HTTP header in HAProxy for my host name, i want the http header must take my domain name instead of the ip address. How can i achive that in HAProxy? Thanks in advance.

Load balancer HAProxy HTTP header Add a comment
ajinfernando
asked Mar 30 2018

Answer

0

You can use the below line on your haproxy configuration file for rewriting http header

http-request set-header Host yourdomain.com
Add a comment
parthiban
asked Apr 15 2018
edited Oct 05 2018
Post your Answer