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.
We managed to get a fix implemented,
Let me know if anyone thinks it would be useful to share and i will share the solution.
Sorry for never getting back to you, I did have a peek in the code but have had so much to do so I never got around to digging up what we did.
I think it would be great if you posted your solution as I don't remember if I solved it or just did a workaround.
And besides, I am sore more people will have this issue at some point too!
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted