-
-
Notifications
You must be signed in to change notification settings - Fork 117
Description
Hello,
Thank you for all the effort to make this works.
I have the revproxy inside a view at www.mysite.com/proxy/.
The problem I see is that in the responses the /proxy/ part is not added.
Test bed (example):
In this case, the upstream could be: www.google.com
So, for example, if a request goes to www.mysite.com/proxy/, it is translated to www.google.com, but in the response the url of the image that should be loaded (www.google.com/images/this_image.jpg) becomes www.mysite.com/images/this_image.jgp; instead of www.mysite.com/proxy/images/this_image.jgp. So, It does not work at all.
I hope to be clear. I read all questions done before, but I did not understand how to fix this.
A second question. Is there any way to add the IP address to the upstream plus the URL? I mean, in order to avoid DNS or etc/hosts to resolve it.
Thanks, I appreciate any help.
M