Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Upgrade Insecure Requests via .htaccess or meta tag to prevent mixed content
<ifModule mod_headers.c>
Header always set Content-Security-Policy "upgrade-insecure-requests;"
</IfModule>
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment