add_header Content-Security-Policy "default-src 'self'";
(这个可能导致页面样式出错,慎重)
add_header X-XSS-Protection "1; mode=block";
add_header X-Content-Type-Options: nosniff;
add_header X-Frame-Options SAMEORIGIN;
add_header Referrer-Policy strict-origin-when-cross-origin;