Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I am developing a site and have it behind an Application request routing proxy which forwards the request to the umbraco project and sets the "X-Forwarded-Host"
To then make umbraco use that "X-Forwarded-Host" I have the following code. And as you can see from the watch at the bottom, everything seems correct.
And this used to work until I upgraded to 7.12.3 today.
However if I now go to a controller (that overrides RenderMvcController) and there look at "Request.Url" it reports "http://ec-web.se:8788/"
So it replaced the host but not the port.
I have tried to replace LocalPort and setting port in Host (in the HeadersForwardOverrideMiddleware)
However nothing seems to work.
This also has the effect that it does not find my correct node (including root node - I have 3 root nodes). Instead it simply picks the first root node.
How can I make it also respect the port I desire?
I am also very open to another solution for configuring reverse proxy if there is a better way (rather than owin middlewhere)
Did you ever get this to work? we are currently having the same issue.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted