Hi Alexander,

> Is it possible to bind both HTTP and HTTPS on the same port with haproxy. 
> Something like this:
>
> frontend data-in
> mode http
> bind 0.0.0.0:8080
> crt if ssl /path/to/crt
>
> Obviously above doesn't work. Is there something similar?

There may be something, but you will have to put the frontend in TCP mode, and
hairpin the connection to the correct frontend.

Try looking up some haproxy+ssh+https+same+port blog posts on Google,
that should point you in the right direction.


Regards,

Lukas

                                          

Reply via email to