Re: Double or chained proxy with mod_proxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





El jue, 8 jun 2023 a las 19:28, Charlie Calhoun (<cscal@xxxxxxxxxxxxxx.invalid>) escribió:

I have a reverse proxy set up and working correctly for an internal website. I have now been asked to create another proxy to connect to the reverse proxy (and ultimately the internal website). The second proxy does not have direct network access to the internal website, but it does have network access to the reverse proxy. Its function is to provide access to that internal website for parts of our network that don't have access to the reverse proxy or the internal website.

I have tried setting the second proxy as a reverse proxy pointing to the original reverse proxy, but this gave "Bad Request" errors. Then I tried setting it as a forward proxy, then started playing with ProxyRemote and NoProxy, but nothing seems to work. I expect that when I go to "secondproxy.local.domain:listenport", it should return the internal website, just like what happens when I go to "originalreverseproxy.local.domain:listenport"

Is this possible? What do I need to do to achieve this?



Probably you are mixing protocols, like reverse proxy responds to https and you have set up connection as http or similar, that is one of the most simple cases of "bad request", or maybe missing "SSLProxyEngine on" directive when backend you are proxying to uses SSL/TLS.

In any case if you don't show your configuration and error logs it is hard to tell for sure.


--
Daniel Ferradal
HTTPD Project
#httpd help at Libera.Chat

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux