Skip to content

Question regarding path - Maybe stupid, but I would need some help #134

@mchingotto

Description

@mchingotto

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions