I have HAProxy 1.5.8.
I have this basic 301 rule :
frontend http_frontend
bind *:80
mode http
redirect location https://xxxx.com code 301
The response looks like this :
HTTP/1.1 301 Moved Permanently
Content-length: 0
Location: https://xxxx.com
Connection: close
I need to add a date in the header, like a regular webserver would do.
respadd function doesn't seems to affect the redirect.
Is it possible ?