Skip to content

Instantly share code, notes, and snippets.

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;"
<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