帮助中心 >  技术知识库 >  云服务器 >  服务器教程 >  owncloud The “Strict-Transport-Security” HTTP header is not configured to at least “15552000” seconds 如何解决

owncloud The “Strict-Transport-Security” HTTP header is not configured to at least “15552000” seconds 如何解决

2017-02-27 16:48:54 14373

解决方法:编辑“/usr/local/nginx/conf/vhost.conf”文件找到对应网站的433端口段添加下面代码(保存后重启nginx)

add_header Strict-Transport-Security “max-age=63072000; includeSubdomains; preload”;

提交成功!非常感谢您的反馈,我们会继续努力做到更好!

这条文档是否有帮助解决问题?

非常抱歉未能帮助到您。为了给您提供更好的服务,我们很需要您进一步的反馈信息:

在文档使用中是否遇到以下问题: