Re: Haproxy with SNI and http2 seperation

2016-07-19 Thread Matthias Fechner
Hi Cyril, Am 19.07.2016 um 00:27 schrieb Cyril Bonté: > You probably have an issue here : hdr(host) won't work with mode tcp. > If you wan't to check the domain provided by SNI, you should use > req.ssl_sni instead. > > Have a look to the example provided in the documentation : > http://cbonte.git

Re: Haproxy with SNI and http2 seperation

2016-07-18 Thread Cyril Bonté
Hi Matthias, Le 18/07/2016 à 10:07, Matthias Fechner a écrit : Dear all, I use haproxy 1.6.7 on a FreeBSD host. I just try to do the following: Check if hostname is domain1 or domain2 or bladomain3 or ... , mark it to send the request to nginx all other requests should go to apache backend.

Haproxy with SNI and http2 seperation

2016-07-18 Thread Matthias Fechner
Dear all, I use haproxy 1.6.7 on a FreeBSD host. I just try to do the following: Check if hostname is domain1 or domain2 or bladomain3 or ... , mark it to send the request to nginx all other requests should go to apache backend. Check if client support http2, if yes and nginx acl matches, send