Harden Static Sites and Nginx VPS Hosts Against XSS & Clickjacking
A misconfigured Content-Security-Policy either leaves your site open to script injection or accidentally blocks Google Fonts, GA4, and AdSense ads overnight. Building explicit directives with tested presets lets you roll out hardened Nginx headers cleanly.
- Visual directive editors for default-src, script-src, style-src, font-src, img-src, and frame-ancestors
- One-click presets for Strict Static Sites and Monetized Sites (Google Analytics GA4 + AdSense)
- Outputs ready-to-paste Nginx add_header blocks alongside raw HTTP header values
- Automatically pairs CSP with X-Content-Type-Options, Referrer-Policy, and Permissions-Policy
- Includes frame-ancestors 'none' clickjacking defense replacing legacy X-Frame-Options
- 100% local generation without exposing internal origin domains