Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<ifModule mod_headers.c>
Header set Connection keep-alive
Header set Strict-Transport-Security "max-age=31536000;"
Header set Content-Security-Policy "script-src 'self'"
Header set X-Frame-Options "Deny"
Header set X-XSS-Protection "1; mode=block"
Header set X-Content-Type-Options "nosniff"
Header set Referrer-Policy ""
Header set Content-Security-Policy "default-src 'self';"
</ifModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.