⚡ Security · Client-side · No data sent to server
Security Headers Generator
Generate the common HTTP security headers (HSTS, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, and Permissions-Policy) for Apache or Nginx. Pick your settings and copy a block you can paste straight into your config.
Server
Strict-Transport-Security (HSTS)
Other headers
Copied
Test before you trust HSTS. A long HSTS max-age locks browsers to HTTPS, so confirm your certificate and every subdomain work first. A Content-Security-Policy is powerful but site-specific; build one with our dedicated CSP tool. Headers are generated in your browser.