Http headers removed Azure web app

2020-03-30 05:21发布

I'm having issues with my web app hosted on Azure. This app is an identityserver4 application (asp.net core) used for authentication/authorization.

This app works locally but doesn't on Azure. By tracing the response headers coming from the server and what arrives to the final client. I can see that some headers "disappear".

To ensure it wasn't just related to CORS, I have added a custom header X-TEST. Again this works locally but gets stripped of when deployed on Azure.

Besides the CORS blade on Azure (and the web.config), is there any Azure options that might cause these headers to disappear ?

Thank you.

ps: This is related to another issue I have posted a week ago.

1条回答
戒情不戒烟
2楼-- · 2020-03-30 05:50

Try https

(it might work and google will say that your site is secure...)

Also, if you can inculde HTML, use and tags.

Hope this helps...

查看更多
登录 后发表回答