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

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

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

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,560 questions
0 comments No comments
{count} vote

4 answers

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

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

    1 person found this answer helpful.
    0 comments No comments

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

    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. Kaderli Manuel 6 Reputation points
    2022-09-30T07:43:37.397+00:00

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

    0 comments No comments

  4. Daniel Fricke 0 Reputation points
    2023-05-12T23:19:49.4666667+00:00

    Brendan, you could upvote this feature request regarding supporting X-Forwarded-Host header:
    https://feedback.azure.com/d365community/idea/7d830ecc-ba25-ec11-b6e6-000d3a4f0789

    0 comments No comments