Skip to content

Commit

Permalink
Merge pull request #219 from levoai/cf-worker-failure-mode
Browse files Browse the repository at this point in the history
Document Cloudflare Worker Failure Modes
  • Loading branch information
ricekot authored Apr 4, 2024
2 parents 2cc6798 + 0ca2298 commit 10f8285
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Binary file added docs/assets/cf-worker-route.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions docs/install-traffic-capture-sensors/cloudflare-worker.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,14 @@ Check the [repository's README](https://github.com/levoai/cf-worker/blob/main/RE
## Configuring Websites to use the Worker

Follow the instructions in the [Cloudflare Docs](https://developers.cloudflare.com/workers/configuration/routing/routes/#set-up-a-route).

:::caution
When adding a worker route, ensure that the failure mode is set to "Fail open" to allow requests to bypass the worker in case of unexpected errors
or if the [daily request limit](https://developers.cloudflare.com/workers/platform/limits/#daily-request) runs out.
:::

<img
src={require('../assets/cf-worker-route.png').default}
alt="Adding a Cloudflare Worker route"
style={{ display: 'block', margin: 'auto', paddingTop: '24px'}}
/>

0 comments on commit 10f8285

Please sign in to comment.