Kavach

Fix · nginx

Fix “Permissions-Policy” on nginx

Add: Permissions-Policy: geolocation=(), microphone=(), camera=()

add_header Permissions-Policy "geolocation=(), microphone=(), camera=()" always;

Verify the fix

Re-run the Permissions-Policy 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: Apache · Caddy · Express / Node · Cloudflare

Scan your site free → Monitor it continuously