/set-security-headers

A template for setting the proper security headers for your domain when using Cloudflare as your reverse DNS Proxy

Primary LanguageJavaScriptApache License 2.0Apache-2.0

🛡️ security-headers-template 🔒

Analyze Your HTTP Response Headers Here: https://securityheaders.com/

This is a template for setting the proper security headers for your domain when using CloudFlare as your reverse DNS Proxy

index.js is the content of the Workers script.

Wrangler

To generate using wrangler

Include your own wrangler.toml file

wrangler generate projectname https://github.com/jamesta696/set-security-headers

Further documentation for Wrangler can be found here.