【发布时间】:2020-07-20 08:22:07
【问题描述】:
我已经做了必要的 web.config(在 D:\home\site\wwwroot 中找到),这也有一个重写规则将所有重定向到 https
<configuration>
<system.web>
<!-- <compilation debug="true" targetFramework="4.5.1" />
<httpRuntime targetFramework="4.5.1" enableVersionHeader="false" />-->
<httpRuntime enableVersionHeader="false" />
<!--<customErrors mode="RemoteOnly" defaultRedirect="https://concierge.digitaldesk.accenture.com"/>-->
</system.web>
<system.webServer>
<security>
<requestFiltering removeServerHeader="true"/>
</security>
基于https://securityheaders.com/
带有重定向的原始标头
没有重定向的原始标题
它突然显示服务器名称,我也需要删除它。
请帮忙!!
【问题讨论】:
标签: asp.net azure web-config azure-web-app-service iis-10