Http headers removed Azure web app

岁酱吖の 提交于 2019-12-01 10:32:26

问题


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:


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...



来源:https://stackoverflow.com/questions/48230736/http-headers-removed-azure-web-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!