Skip to content

Instantly share code, notes, and snippets.

@ntorga
Last active August 29, 2018 23:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ntorga/97c09ab93e748c0cc1a894a52a973894 to your computer and use it in GitHub Desktop.
Save ntorga/97c09ab93e748c0cc1a894a52a973894 to your computer and use it in GitHub Desktop.
Works great on modern browsers, not on IE tho.
<ifModule mod_headers.c>
Header always set Content-Security-Policy "upgrade-insecure-requests;"
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment