[YARP] How to set up a reverse proxy for another full web server in a sub path?
I have a Qliksense server on some domain and I have its certificate (pfx) and I want to make a reverse proxy to it with ASP.NET + YARP
the issue is when I set the proxy prefix as
and go to
it would gives me
but when I remove the prefix of
then go to
the QlikSense server redirects me to another path called
so it would be like
and this time my backend app itself is who would gives me
so I need a dynamic way to make all of the QlikSense paths be of sub path
like it should be when I go to
or anyway to fix this
I heard about something in the transformation like:
but it gives me error, not sure if I'm using it correctly
the issue is when I set the proxy prefix as
/qlik for exampleand go to
localhost/qlikit would gives me
404 because the qlik server would read /qlik as a route and will try to fine the page that called qlikbut when I remove the prefix of
/qlik in the transform sectionthen go to
localhost/qlik the QlikSense server redirects me to another path called
/hubso it would be like
localhost/qlik => localhost/huband this time my backend app itself is who would gives me
404 error because it will search of the /hub route which only exist on the QlikSense server and not my appso I need a dynamic way to make all of the QlikSense paths be of sub path
/qlik like it should be when I go to
localhost/qlik => localhost/qlik/hub and the qliksense server would read the path as /hub not /qlik/hub or anyway to fix this
I heard about something in the transformation like:
but it gives me error, not sure if I'm using it correctly