📜  pagestest.org 标头安全修复 - CSS 代码示例

📅  最后修改于: 2022-03-11 14:48:00.929000             🧑  作者: Mango

代码示例1
Header set Strict-Transport-Security "max-age=31536000; includeSubDomains" "expr=%{HTTPS} == 'on'"
Header set Content-Security-Policy "default-src 'self';"
Header set X-Content-Type-Options nosniff
Header always append X-Frame-Options DENY

  Header set X-XSS-Protection "1; mode=block"