# HTTP/2 Reverse Proxy

**URL:** <https://www.ruby-forum.com/t/http-2-reverse-proxy/244173>\
**Category:** NGINX\
**Created:** [March 1, 2016, 4:18am UTC](https://www.ruby-forum.com/t/http-2-reverse-proxy/244173 "2016-03-01T04:18:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sadaf\_N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/858c86/32.png) [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Post date:** [March 1, 2016, 4:18am UTC](https://www.ruby-forum.com/t/http-2-reverse-proxy/244173/1 "2016-03-01T04:18:11Z")

</div>

I have Nginx (1.9.12) setup and working fine with HTTP/2 on host-a. I  
can  
establish HTTP/2 connections to host-a with any web browser. I also have  
HTTP/2 and proxypass setup on host-b. I can proxy HTTP/1.1 requests from  
host-b to host-a with any web browser. I can also establish HTTP/2  
connections with host-b using any web browser. However, I can’t get the  
proxy request from host-b to host-a to talk HTTP/2. The connection  
between  
host-b and host-a doesn’t utilize the TLS ALPN extension so that the h2  
protocol can be used. A packet capture shows that HTTP/1.1 is used for  
the  
proxy connection between host-b and host-a despite the fact that virtual  
host on host-a is configured to only accept h2 connections. Is there a  
way  
to force the use of the TLS ALPN extension?

Thanks for your time,  
Russel

Posted at Nginx Forum:

> **[HTTP/2 Reverse Proxy](https://forum.nginx.org/read.php?2,264954,264954#msg-264954)**
>
> I have Nginx (1.9.12) setup and working fine with HTTP/2 on host-a. I can establish HTTP/2 connections to host-a with any web browser. I also have HTTP/2 and proxypass setup on host-b. I can proxy HTTP/1.1 requests from host-b to host-a with any web...

---

<div class="post-metadata">

**Author:** ![Russel\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/919ad9/32.png) [@Russel\_S](https://www.ruby-forum.com/u/Russel_S)\
**Post date:** [March 1, 2016, 7:22am UTC](https://www.ruby-forum.com/t/http-2-reverse-proxy/244173/2 "2016-03-01T07:22:19Z")

</div>

As far as I know HTTP2 is only for client-server communication in Nginx.  
Server to server connections remain at HTTP 1.1

Regards,  
Heiko

Posted at Nginx Forum:

> **[Re: HTTP/2 Reverse Proxy](https://forum.nginx.org/read.php?2,264954,264956#msg-264956)**
>
> I have Nginx (1.9.12) setup and working fine with HTTP/2 on host-a. I can establish HTTP/2 connections to host-a with any web browser. I also have HTTP/2 and proxypass setup on host-b. I can proxy HTTP/1.1 requests from host-b to host-a with any web...

---

<div class="post-metadata">

**Author:** ![Russel\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/919ad9/32.png) [@Russel\_S](https://www.ruby-forum.com/u/Russel_S)\
**Post date:** [March 1, 2016, 11:40pm UTC](https://www.ruby-forum.com/t/http-2-reverse-proxy/244173/3 "2016-03-01T23:40:13Z")

</div>

Ok, thanks for the heads up.

Posted at Nginx Forum:

> **[Re: HTTP/2 Reverse Proxy](https://forum.nginx.org/read.php?2,264954,264989#msg-264989)**
>
> I have Nginx (1.9.12) setup and working fine with HTTP/2 on host-a. I can establish HTTP/2 connections to host-a with any web browser. I also have HTTP/2 and proxypass setup on host-b. I can proxy HTTP/1.1 requests from host-b to host-a with any web...
