n2n1 发表于 2022-6-20 15:59:12

iis 开启HSTS

iis 开启HSTS
Configure headers per websiteOpen the Internet Information Services (IIS) Manager via Start → Administrative Tools → IIS Manager.
[*]Click on HTTP Response Headers.
[*]Click on Add... in the Actions panel.
[*]Enter the following values in the Add Custom HTTP Response Headers dialog box:
[*]Close the IIS Manager after confirmation.
Redirecting visitors to the HTTPS URLOpen the Internet Information Services (IIS) Manager via Start → Administrative Tools → IIS Manager.
[*]Click on HTTP Redirect.
[*]Check the Redirect box and enter the target URL (HTTPS). Set the status to permanent redirect (301)

页: [1]
查看完整版本: iis 开启HSTS