如何修复“ 1个子域(如domainname.com.au)不支持HSTS”?

时间:2019-10-23 10:18:51

标签: wordpress ssl nginx server hsts

我的主要域名类似于example.com.au。我的网站在https://www.example.com.auhttps://example.com.au上均正常工作。

我已经安装了一款出色的插件(https://wordpress.org/plugins/lh-hsts/),还可以为子域添加“ Strict-Transport-Security”标头。

例如:strict-transport-security:max-age = 31536001; includeSubDomains;预加载(https://www.screencast.com/t/qFw1SjbHw

但是,我仍然遇到与该子域未找到的与HSTS相关的错误。错误将子域列为我的主域(example.com.au)。

有人可以建议为example.com.au这样的域设置HSTS的最佳方法吗?

谢谢。

感谢所有答案。

0 个答案:

没有答案