We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

View Complete Thread
  • Re: IIS Reverse Proxy - forward user IP instead of server IP

    Feb 07, 2021 06:36 AM|Brucz|LINK

    Hi LuckVintage,

    In the reverse proxy of IIS, the client IP is stored in the X-Forwarded-For header by default. If your apache server does not read this header or the application does not record this header, the apache log always contains IIS server IP address.

    You can change X-Forwarded-For to other headers in ARR. Open Server Proxy Setting in ARR.

    Best regards,

    Brucz

    .NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.