Prompt Buddy logoPrompt Buddy

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.

Import to Prompt Buddy

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

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/workers-examples-bulk-origin-proxy-override-workflow-guide.mdA 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.textA 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.textA 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.textA 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.textA 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

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. 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