iis 开启HSTS
iis 开启HSTSConfigure 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]