简体   繁体   中英

How to set custom headers for every request on Azure App Service?

I want to set up a custom header to each request on my site that is deployed on Azure. How can I do it via Azure?

@silent is right and we can use https://docs.microsoft.com/en-us/azure/application-gateway/rewrite-http-headers . Unfortunately, it is a hard way. I will try to find an easier solution, for example setting headers in Web.config or etc.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM