Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions src/content/docs/aegis/configuration-options/workers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,14 @@ head:

[Workers](/workers/) provides a serverless execution environment for you to create applications leveraging Cloudflare's global network.

When paired with Aegis, whenever Cloudflare's developer platform needs to access services on your origin, it will use the dedicated IP addresses.
Refer to the sections below for information on how Aegis pair up with Workers.

:::note
For Workers subrequests — meaning requests from one Worker to another — it is expected that different IPs are used. However, requests to external origins made by a Worker invoked via a subrequest will use the dedicated IP addresses.
:::
## `fetch`

[`fetch()` requests](/workers/runtime-apis/fetch/) to access services on your origin will use Aegis IP addresses.

For Workers subrequests — meaning requests from one Worker to another — it is expected that different IPs are used. However, [`fetch()` requests](/workers/runtime-apis/fetch/) to external origins made by a Worker invoked via a subrequest will use Aegis IP addresses.

## `connect`

For [`connect()` requests](/workers/runtime-apis/tcp-sockets/) - which create outbound TCP connections from Workers - Aegis IPs are **not** used.