However, this uses path-test twice. in all umbraco calls. If I remove ‘ctx.Request.PathBase = “/path-test”;’ then the calls work but no css loads on the front end. If I remove ‘app.UsePathBase(“/path-test”);’ then I cannot access umbraco but the front end works.
I have tried using this but it doesn’t seem to work with a path inside of it:
Thanks for this. I didn’t actually post my full configuration service but I have already added this and it still doesn’t work. Do you think the code I am using above could be interfering with it? Is their anything else you would know that would be needed to set up a proxy url
even though the question is a bit older and you’ve probably already solved the problem for yourself, I wanted to share my solution for other people.
I currently had the same problem and the simple forward headers configuration didn’t worked. But the warning message “Unknown Proxy” in the logs helped. Apparently, the middleware does nothing if it doesn’t know the proxy.
The solution was to add the proxy to the list of known proxies, and then it worked.