Fix · nginx
Fix “Clickjacking protection” on nginx
Add: X-Frame-Options: DENY (or CSP 'frame-ancestors none').
add_header X-Frame-Options "DENY" always;
Verify the fix
Re-run the Clickjacking protection 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