Skip to content

Commit 71170f9

Browse files
[Aegis] Separate sections for fetch and connect in workers.mdx (#24121)
* Create separate sections for fetch and connect * Disambiguate whenever and use Aegis IPs throughout * Apply suggestions from code review Co-authored-by: Jun Lee <[email protected]> --------- Co-authored-by: Jun Lee <[email protected]>
1 parent b1d61a9 commit 71170f9

File tree

1 file changed

+10
-4
lines changed
  • src/content/docs/aegis/configuration-options

1 file changed

+10
-4
lines changed

src/content/docs/aegis/configuration-options/workers.mdx

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,14 @@ head:
99

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

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

14-
:::note
15-
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.
16-
:::
14+
## `fetch`
15+
16+
[`fetch()` requests](/workers/runtime-apis/fetch/) that access services on your origin will use Aegis IP addresses.
17+
18+
Workers subrequests — requests from one Worker to another — are expected to use different IPs. However, [`fetch()` requests](/workers/runtime-apis/fetch/) to external origins made by a Worker invoked via a subrequest will use Aegis IP addresses.
19+
20+
## `connect`
21+
22+
For [`connect()` requests](/workers/runtime-apis/tcp-sockets/) - which create outbound TCP connections from Workers - Aegis IPs are **not** used.

0 commit comments

Comments
 (0)