Welcome! Log In Create A New Profile

Advanced

http/2 Frontend

Posted by Daniel 
Daniel
http/2 Frontend
December 04, 2017 11:30AM
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
Jérôme Magnin
Re: http/2 Frontend
December 04, 2017 11:30AM
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
Daniel
Re: http/2 Frontend
December 04, 2017 11:30AM
Ahh found it:



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



Need to test it ;)



Cheers





Von: Daniel <[email protected]>
Datum: Montag, 4. Dezember 2017 um 11:21
An: HAProxy <[email protected]>
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
Willy Tarreau
Re: http/2 Frontend
December 04, 2017 06:30PM
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
Sorry, only registered users may post in this forum.

Click here to login