Giter Site home page Giter Site logo

anthonygrimes / cfworkers-security-headers Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 29 KB

A Cloudflare Workers project which adds sensible security header rewrites

License: MIT License

JavaScript 100.00%
javascript cloudflare-workers security security-headers cloudflare-worker

cfworkers-security-headers's Introduction

cfworkers-security-headers

A Cloudflare Workers project which adds sensible security header rewrites

getting started

via wrangler-cli

  1. Rename the wrangler.toml.example to wrangler.toml and supply at minimum your account_id
    1. If you want to deploy to a specific zone or route you will have to supply the required zone_id and route
  2. Run wrangler publish from within the project directory to deploy the Cloudflare Worker to your desired zone
    1. If you are deploying to your default zone and wish to use the worker in one of your sites, you will have to manually add the routes like so in the workers panel in your domain dashboard. workers-routes-dashboard

cfworkers-security-headers's People

Contributors

anthonygrimes avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

valleman175

cfworkers-security-headers's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.