Hi,
First congrats for this great software!
I'm forcing https in haproxy (https requests come from stunnel):
#################
# Rewrite Rules
#################
# Set acl first
acl secure src 127.0.0.1
redirect prefix https://www.domain.com if !secure
But I have multiple subdomains (not fixed) client1.domain.com,
client2.domain.com, client-n.domain.com... and for the redirect to https I
need to get and pass the host header.
I see that haproxy can capture the host
capture request header Host len 15
But only for logging? I need use the Host header to redirect
redirect prefix https://{HOST} if !secure
Is possible?
Many thans in advance
Jose Luis