cloudflare · Cloudflare Workers Docs
Workers Bulk origin override
Implementation pattern for using Cloudflare Workers to intercept incoming domain requests and route them to a collection of third-party proxy origin URLs.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Workers Bulk origin override
Implementation pattern for using Cloudflare Workers to intercept incoming domain requests and route them to a collection of third-party proxy origin URLs.
When To Use
Use when you need to implement a middleware layer that dynamically redirects or proxies incoming traffic to multiple external third-party origins.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/workers-examples-bulk-origin-proxy-override-workflow-guide.md | A JavaScript implementation using the Hono framework to resolve requests to a set of proxy third-party origin URLs via Cloudflare Workers. | Questions about a JavaScript implementation using the Hono framework to resolve requests to a set of proxy third-party origin URLs vi... |
examples/workers-examples-bulk-origin-proxy-override-cloudflare-workers-bulk-orig.text | A JavaScript worker script that intercepts incoming requests and redirects them to different target hostnames based on a predefined mapping object. | Exact payloads, commands, or snippets shown in A JavaScript worker script that intercepts incoming requests and redirects them to different target hostnames based o... |
examples/workers-examples-bulk-origin-proxy-override-cloudflare-workers-bulk-orig-2.text | A JavaScript example demonstrating how to use a Cloudflare Worker to intercept requests and redirect them to different origin hostnames based on a mapping object. | Exact payloads, commands, or snippets shown in A JavaScript example demonstrating how to use a Cloudflare Worker to intercept requests and redirect them to differen... |
examples/workers-examples-bulk-origin-proxy-override-cloudflare-workers-bulk-orig-3.text | A Hono-based Cloudflare Worker script that intercepts incoming requests and proxies them to different target origins based on a hostname mapping object. | Exact payloads, commands, or snippets shown in A Hono-based Cloudflare Worker script that intercepts incoming requests and proxies them to different target origins... |
examples/workers-examples-bulk-origin-proxy-override-cloudflare-workers-bulk-orig-4.text | A Python implementation of a Cloudflare Worker that uses a dictionary to map incoming hostnames to different backend origin URLs. | Exact payloads, commands, or snippets shown in A Python implementation of a Cloudflare Worker that uses a dictionary to map incoming hostnames to different backend... |
What This Skill Covers
- Resolve requests to your domain to a set of proxy third-party origin URLs.
- Main sections:
Tags.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://developers.cloudflare.com/workers/examples/bulk-origin-proxy
