http {
(1)HTTP Strict-Transport-Security缺失
add_header Strict-Transport-Security "max-age=63072000; includeSubdomains; preload";
(2)web漏洞-缺少X-Frame-Options标头
add_header X-Frame-Options SAMEORIGIN;
(3)HTTP Content-Security-Policy 响应头缺失
add_header Content-Security-Policy "default-src 'self'; style-src * 'unsafe-inline'; img-src * data:; object-src 'self'; script-src * 'unsafe-eval' 'unsafe-inline'; font-src * data:; worker-src * blob:;";
(4)HTTP Referrer-Policy 响应头缺失
add_header Referrer-Policy "origin-when-crossorigin";
add_header 'Referrer-Policy' 'origin';
add_header 'Referrer-Policy' 'unsafe-url';
(5)HTTP X-Permitted-Cross-Domain-Policies 响应头缺失
add_header X-Permitted-Cross-Domain-Policies value;
(6)HTTP X-XSS-Protection 响应头缺失
add_header X-XSS-Protection 1;
(7)HTTP X-Download-Options 响应头缺失
add_header X-Download-Options "noopen" always;
(8)HTTP X-Content-Type-Options 响应头缺失
add_header X-Content-Type-Options nosniff;
}