Monday, September 21, 2020

Apache 配置 HSTS

1. vi /etc/httpd/conf/httpd.conf

2. Header always set Strict-Transport-Security "max-age=63072000; includeSubdomains; preload"

3.  systemctl restart httpd

No comments:

Post a Comment

一些有用的网站

Windows系统安装界面认不到硬盘,加载RST驱动: https://iknow.lenovo.com.cn/detail/419926.html 纯净版Flash: https://gitlab.com/cleanflash/installer/-/releases    ...