How can I remove server: cloudflare header in Azure app service?

fxazure4SBF 26 Reputation points
2022-09-27T05:31:18.233+00:00

I've a project deploy to Azure app server, but I received issue from security team about header: server cloudflare
Can you help me how can I remove server: cloudflare header in Azure app service?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,930 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Lex Li (Microsoft) 6,037 Reputation points Microsoft Employee
    2022-10-01T07:21:45.463+00:00

    If your web solution uses Cloudflare as CDN in front of Azure App Service, then all web browsers connect to Cloudflare content servers first, and then the actual web pages are pulled from Azure App Service by Cloudflare.

    In this manner, the Cloudflare header is in fact generated by Cloudflare servers, and it is impossible to disable them on Azure App Service side.

    Please contact Cloudflare and ask them for assistance.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.