Anuraj
Anuraj

Reputation: 19598

How to remove Server Header Azure App Service when requesting with Connect HTTP method

I am facing an issue with Azure App Services, when we request with an HTTP CONNECT method, App Service returns a Bad Gateway Error. Along with the response, it is exposing the Server as well. Is there a way to fix this?

Here is the example

Azure App Service Bad Gateway error

I am already doing the server header removal in Web.Config and Application_Start method global.asax.

Upvotes: 2

Views: 2623

Answers (1)

Anuraj
Anuraj

Reputation: 19598

I raised a support issue with Microsoft Azure. This response is not coming from the server, it is handled by their frontend and they can't remove the specific header.

Upvotes: 1

Related Questions