question

TPlink-3643 avatar image
0 Votes"
TPlink-3643 asked krish-gh answered

web resource urls are still the internal url when accessing the app from external using app proxy

Hi,
I have a internal application, which the url is: https://myserver/myapp. as you can see this app is under the root domain. and https://myserver is another application. (in my production env, I cant change this structure for some historical reason)

Now, I create a azure app proxy, and for example, the external url is https://publicdomain/, internal url is https://myserver.

but when I try to access the external url https://publicdomain/myapp, all the static resource(css, js,image) are still under https://myserver/myapp/, obviously browser can not load these files since there are internal.


even I set the https://myserver/covid19/ as internal url, and when access the internal url https://publicdomain/mypp has the same issue.

can someone help me to check how can I fix this issue?

Thanks

azure-ad-application-proxy
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

krish-gh avatar image
0 Votes"
krish-gh answered

Hello @TPlink-3643 , Can you follow this and this. Note the third option. There are multiple options for enabling inline link translation. These options include using the Intune Managed Browser, My Apps extension, or using the link translation setting on your application. To learn more about each of these options and how to enable them, see Redirect hardcoded links for apps published with Azure AD Application Proxy.
If you do not have hardcoded link, but all are relative, check if you backend application is passing the forwarded headers from the request to the backend. Though I am not sure about your application, but for an asp.net core app, the guide is here.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.