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



Reply via email to