Re: http/2 Frontend

2017-12-04 Thread Willy Tarreau
On Mon, Dec 04, 2017 at 11:26:49AM +0100, Daniel wrote:
> Ahh found it:
> 
> bind :443 ssl crt /path/to/cert.crt alpn h2,http/1.1

Indeed, I had a hard time figuring what to write in the doc because
aside this there's nothing else to do. Our architecture manual is
outdated, and that's definitely where it should have been explained.

> Need to test it ;)

I just fixed another annoying bug, better pick the git repo or a daily
snapshot tomorrow morning.

Cheers,
Willy



Re: http/2 Frontend

2017-12-04 Thread Daniel
Ahh found it:

 

bind :443 ssl crt /path/to/cert.crt alpn h2,http/1.1

 

Need to test it ;)

 

Cheers

 

 

Von: Daniel 
Datum: Montag, 4. Dezember 2017 um 11:21
An: HAProxy 
Betreff: http/2 Frontend

 

Hi There,

 

i know that haproxy 1.8 is able now to handle http/2 connections in the 
frontend.

My Problem is, I cant find any Documention for 1.8 on the Website.

 

Has someone some Exmaple configs for me just to check how I need to configure 
it?

 

Cheers

 

Daniel



Re: http/2 Frontend

2017-12-04 Thread Jérôme Magnin
On Mon, Dec 04, 2017 at 11:20:29AM +0100, Daniel wrote:
> Hi There,
> 
> i know that haproxy 1.8 is able now to handle http/2 connections in the 
> frontend.
> My Problem is, I cant find any Documention for 1.8 on the Website.
> 
> Has someone some Exmaple configs for me just to check how I need to configure 
> it?
> 
> Cheers
> 
> Daniel
>

Hello Daniel,

look for the alpn keyword in the doc.
https://cbonte.github.io/haproxy-dconv/1.8/configuration.html#5.1-alpn

regards,
Jérôme