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: http.sys response header

    Jan 26, 2021 05:30 AM|lextm|LINK


    Is it possible to somehow control the HTTP response headers issued by http.sys? At the moment the http.sys documentation states that you can only check the Server header https://docs.microsoft.com/en-us/troubleshoot/iis/httpsys-registry-windows

    To make a reliable driver like http.sys, it has to be kept simple and without many settings. So what you observed is what you can use, and that does not meet your needs.

    People usually set up a reverse proxy in front, such as NGINX Plus, where headers can be modified as you wished, https://www.nginx.com/blog/reverse-proxy-using-nginx-plus/#passing-request-headers 

    Lex Li
    Want to have a chat on the issues you meet? Book an appointment at https://buy.stripe.com/cN24ia0yi7sAdIA7sv
    This posting is provided "AS IS" with no warranties, and confers no rights.