Hi,

I've setup Haproxy 1.5 dev 19 to handle my http and https traffic.

All works fine except when I request the root url in https:
https://mydomain.com

My certificate is a wildcard *.mydomain.com

What is the solution to remove this error? An url rewrite and add www?


My Haproxy configuration:

frontend https-requests
        mode http
        bind :80
        bind :443 ssl crt ./mydomain.pem force-sslv3

        acl is_webfront path_reg ^www||^/$(.*)
        acl is_api hdr(host) -i api.mydomain.com

        use_backend bk_webfront if is_webfront
        use_backend bk_api if is_api

        default_backend bk_webfront

Thanks


Matthieu

Reply via email to