CSP Header Generator

Generate Content Security Policy headers visually. Configure allowed sources for scripts, styles, images, and more.

Upgrade HTTP requests to HTTPS
Block all mixed content (deprecated in some browsers)

Content-Security-Policy Header
Enable directives above to generate the header...
Nginx Snippet
Apache .htaccess Snippet

Need uptime monitoring? AlertsDock monitors your APIs and cron jobs — starting at $12/mo.