Kavach

Fix · Apache

Fix “Mixed content” on Apache

Load every script, stylesheet, image and frame over https:// (or use protocol-relative/absolute https URLs).

Header always set Content-Security-Policy "upgrade-insecure-requests"

Verify the fix

Re-run the Mixed content check after deploying. Test config changes in staging first and keep a rollback: a wrong header can break a site faster than a missing one.

Other stacks: nginx · Caddy · Express / Node · Cloudflare

Scan your site free → Monitor it continuously