HAProxy community

Help me with ssl

Hi everyone, can you help me ???

i have a problem because i have a frontend to receive https trafic but it has ssl cetificate for
one domain for example mydomain.com

frontend services_443
option forwardfor
bind *:443 ssl crt /etc/haproxy/star_mydomain_com_ec/star_mydomain_com_ec.pem alpn h2,http/1.1

and i need to accees to url that has other domain for example www.test.com
but i need that this url use https

I dont know if there is a way to use the same frontend to do it.

Thanks !!

I don’t know what you are asking.

Are you saying that the backend servers should be www.test.com or are you saying you want to redirect to www.test.com (so the browser will go somewhere else), or are you saying you want to make haproxy look like it’s www.test.com?