mod_h2 icon indicating copy to clipboard operation
mod_h2 copied to clipboard

Feature: support forward proxying

Open bemasc opened this issue 8 years ago • 3 comments

I'm trying to set up a forward proxy with HTTP/2. Unfortunately, it seems like mod_http2 just ignores mod_proxy if it has "ProxyRequests On". Instead, http GET proxy requests just return index.html (!), and https proxy requests (CONNECT) fail with some kind of protocol error.

Disabling mod_http2 makes everything work again, over HTTP/1.1.

Is there a trick to making this work? Or is it just a bug?

bemasc avatar Feb 13 '17 15:02 bemasc

Quick question - have you tried https://httpd.apache.org/docs/current/mod/mod_proxy_http2.html ?

elukey avatar Feb 13 '17 15:02 elukey

Yes, I have tried with mod_proxy_http2 enabled and disabled. It doesn't seem to make any difference.

bemasc avatar Feb 13 '17 15:02 bemasc

@bemasc I think you have run into undiscovered country here. I have never tested mod_http2 in a forward proxy setup. That it fails right at CONNECT is probably all to the good.

So, currently unsupported. You can make an "enhancement" issue out of this one, but I do not foresee to have myself time to work on this in the near future.

icing avatar Feb 13 '17 15:02 icing