Skip to content

Instantly share code, notes, and snippets.

View rlpeterson's full-sized avatar

Robert Peterson rlpeterson

  • DreamHost
  • Portland, OR
View GitHub Profile
@jacobovidal
jacobovidal / .htaccess
Last active July 2, 2023 22:31
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>