Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: support forward proxying #129

Open
bemasc opened this issue Feb 13, 2017 · 3 comments
Open

Feature: support forward proxying #129

bemasc opened this issue Feb 13, 2017 · 3 comments

Comments

@bemasc
Copy link

bemasc commented Feb 13, 2017

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?

@elukey
Copy link
Contributor

elukey commented Feb 13, 2017

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

@bemasc
Copy link
Author

bemasc commented Feb 13, 2017

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

@icing
Copy link
Owner

icing commented Feb 13, 2017

@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.

@bemasc bemasc changed the title mod_http2 not respecting mod_proxy with ProxyRequests On Feature: support forward proxying Feb 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants