Re: [go-nuts] Go HTTP/2 behind HAProxy TLS Question

2017-04-09 Thread Brad Fitzpatrick
Why do you need HTTP/2 between HAProxy and Go? That's a low latency
connection. Are you doing push promise frames? Do those even transit
HAProxy?




On Fri, Apr 7, 2017 at 9:56 AM,  wrote:

> Hello!
>
> I'm quite new to web development and currently bumped into a problem I
> can't wrap my head around.
>
> I need to make a simple web server in Go using HTTP/2 and server will be
> deployed on Ubuntu 16.04 server behind HAProxy with TLS certificate from
> Let'sEncrypt.
>
> Here is a problem: in that setup, I don't need to setup encryption on the
> Go side (or can I even? certificate is issued using Certbot to HAProxy),
> HAProxy will take care of it, but to use HTTP/2 in my app I must use TLS
> there?
>
> What am I getting wrong?
> How to do it the right way?
>
> Thank you!
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-nuts+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[go-nuts] Go HTTP/2 behind HAProxy TLS Question

2017-04-07 Thread bulat . shamsutdinov
Hello!

I'm quite new to web development and currently bumped into a problem I 
can't wrap my head around.

I need to make a simple web server in Go using HTTP/2 and server will be 
deployed on Ubuntu 16.04 server behind HAProxy with TLS certificate from 
Let'sEncrypt. 

Here is a problem: in that setup, I don't need to setup encryption on the 
Go side (or can I even? certificate is issued using Certbot to HAProxy), 
HAProxy will take care of it, but to use HTTP/2 in my app I must use TLS 
there?

What am I getting wrong?
How to do it the right way?

Thank you!

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.