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.
To generate using wrangler
wrangler generate projectname https://github.com/jamesta696/set-security-headers
Further documentation for Wrangler can be found here.