Remove response Server header on Azure Web App from the first redirect request to HTTPS
问题 I’m trying to remove the response Server header from an Azure Web App ( with an ASP Net core application ) After many tries of changing the web.config and removing the header in app code using a middleware, Microsoft doesn’t give up and set the response header to Server: Microsoft-IIS/10.0 :) The problem appears only when I’m trying to access the server on http (not https). Response code from the server is 301, and this is the only response that has the Server header. Checking the logs I was