hello,
while playing with dataplane api (I copy-pasted code), accidentally I
created the following config

frontend git_example_com_https_frontend
  mode http
  bind 10.216.7.1:7080 name http
  bind 10.216.7.1:7080 name https crt /etc/haproxy/bundle.pem ssl alpn
h2,http/1.1
  default_backend git_example_com_https_backend
  redirect scheme https code 301 if !{ ssl_fc }

both bind lines include the same 7080 port. haproxy does not complain. is
that configuration correct ? should haproxy complain on such config ?

(I did not mean to put that to production, it happened accidentally).

Cheers,
Ilya Shipitcin

Reply via email to