On 01/10/2014 04:30 μμ, Alexander Olsson wrote:
> 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? It's generally easy 
> to see if it is TLS (starts with 0x16) on the port or anything else.
> 
> It is important that it is the same port, so the general solution to this 
> problem where two bind statements is used does not work for me.
> 
> Regards,
> Alexander
> 
> 
> 


Have you tried a second bind like?
bind 0.0.0.0:443

Cheers,
Pavlos



Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to