So i have a reverse proxy which with one internal domain works brilliantly.
But i now need to add a external domain, so to do this i was just planning on rewriting the external url to the internal url as it comes in. So this is working brilliantly for some applications.
But i have found during testing works, that some applications use redirects, internally this is fine as its all on the same domain. But the Reverse proxy isn't capturing the redirects and rewriting the URL to the external address on the way back (or out). A different direction if you will.
Is there any way i can get the reverse proxy to look out for redirects and rewrite the output from internal to external. Rather than the usual internal to external.