is there a way to set an "X-Forwarded-Host" on Azure App Proxy?

asked 2021-04-29T17:01:18.79+00:00
Brendan Bladdick 11 Reputation points

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

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
12,583 questions
No comments
1 vote

3 answers

Sort by: Most helpful
  1. answered 2021-06-08T22:30:29.46+00:00
    Brendan Bladdick 11 Reputation points

    What is the workaround then when applications require X-Forwarded-Host on their proxy?

    No comments

  2. answered 2021-06-08T17:49:13.403+00:00
    Siva-kumar-selvaraj 15,091 Reputation points

    Hello 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.


  3. answered 2022-09-30T07:43:37.397+00:00
    Kaderli Manuel 6 Reputation points

    I second Brendans question:
    How can you set X-Forwarded-Host in Azure App Gateway when it is required by my application?

    No comments