0

I am trying to upgrade to varnish 5.2. I wanted to support htttps,so setup nginx at front end. Now any https (http2) request is terminated and http 1.1 request is reaching varnish instead http2. Http2 feature enabled in varnish.nginx will not support http2 for any upstream requests,but wanted to know any other reverse proxy like hitch will support http2 to upstream to varnish. Any other tweak required to send http2 request to varnish??. Any help greatly appreciated.

Prem Kumar
  • 11
  • 2

1 Answers1

0

Nginx only supports HTTP/2 for incoming connections and not for proxy pass connections and have no plans to add this.

Apache does support this with mod_proxy_http2 though this is still marked as experimental at the time of writing.

However I’m not sure why you think you need HTTP/2 for varnish? See my answer to this question for more discussion on this: HTTP2 with node.js behind nginx proxy

Barry Pollard
  • 40,655
  • 7
  • 76
  • 92