System: Security: Add header rule to avoid MIME-sniffing

pull/4889/head
Angel Fernando Quiroz Campos 2 years ago
parent 3b487a5507
commit 6f32625a01
  1. 4
      .htaccess

@ -113,3 +113,7 @@ AddType application/font-woff .woff .woff2
#<IfModule mod_headers.c>
# Header always set Content-Security-Policy "upgrade-insecure-requests;"
#</IfModule>
<IfModule mod_headers.c>
Header always set X-Content-Type-Options nosniff
</IfModule>

Loading…
Cancel
Save