What is the workaround then when applications require X-Forwarded-Host on their proxy?
is there a way to set an "X-Forwarded-Host" on Azure App Proxy?

When I set up my application through the app proxy url, it keeps trying to send back the internal machine name rather than the app proxy url. If not then does Azure Application Gateway have this?
I reached out to twitter support and they said no. The thing is, Esri software requires this -https://enterprise.arcgis.com/en/server/latest/deploy/windows/using-a-reverse-proxy-server-with-arcgis-server.htm#ESRI_SECTION1_7C21416FDBFA440191ADF803B70C7DA5
So they referenced an article, https://t.co/q0eCUTCBUb?amp=1, that says to try using a Reply URL however when I asked for documentation on how to use this to achieve what the X-Forwarded-Host, they said they don't have any docs on how to achieve this solution.
My question is, will it be required to set a "reply URL" or a "Redirect URI" within Azure App Proxy to achieve what the X-Forwarded-Host Header is supposed to do? If so do you have a guide on how to do this?
Thank you,
Brendan
3 answers
Sort by: Most helpful
-
-
answered
2021-06-08T17:49:13.403+00:00 Siva-kumar-selvaraj 15,091 Reputation pointsHello Brendan,
Thanks for reaching out and sincere apologies for the delay on this. We are constantly trying to reduce our answer time and in coming days you will see a significant improvement here. So we appreciate you posting your future queries here.
Unfortunately, X-Forwarded-Host does not supported by Azure AD Application Proxy.
------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well. -
answered
2022-09-30T07:43:37.397+00:00 Kaderli Manuel 6 Reputation pointsI second Brendans question:
How can you set X-Forwarded-Host in Azure App Gateway when it is required by my application?