Hi Mark,

On Thu, 4 Oct 2018 at 00:03, Mark Holmes <[email protected]> wrote:
>
> Hi,
>
>
>
> I’m not sure if this is possible as haproxy isn’t terminating SSL in this 
> instance,
> but I’d like to redirect https://urlone.co.uk to https://www.urlone.co.uk
> [...]
> Is what I am trying to achieve possible? Grateful for any suggestions.

No. A redirect happens at HTTP level, with a HTTP response like 301 or
302. If SSL is just passing through (port 443 in tcp mode), everything
is encrypted. You cannot read HTTP request or insert HTTP responses in
this case.

If you want to redirect, you need access at HTTP level, and to have
that access, you need to terminate SSL at haproxy.



Regards,
Lukas

Reply via email to