Skip to content

Commit 1b0c132

Browse files
Update src/content/docs/fundamentals/reference/http-headers.mdx
Co-authored-by: ToriLindsay <[email protected]>
1 parent d528362 commit 1b0c132

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/fundamentals/reference/http-headers.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ The intended purpose of this header is to provide a means for recipients (for ex
132132
:::note
133133
When configuring WAF custom rules, do not match on this header. These rules are applied before Cloudflare adds the `CF-Worker` header. Instead, use the [`cf.worker.upstream_zone`](/ruleset-engine/rules-language/fields/reference/cf.worker.upstream_zone/) field, which contains the same value and exists for the same purpose.
134134

135-
To block just the one worker, add a `Block` action triggered by the expression `cf.worker.upstream_zone eq "example.com"`.
135+
To block a specific Worker, add a `Block` action triggered by the expression `cf.worker.upstream_zone eq "example.com"`.
136136

137137
To block all Worker subrequests except those from your own zone's Worker, add a `Block` action triggered by the expression `not (cf.worker.upstream_zone in {"" "customer-zone.com"})`.
138138
:::

0 commit comments

Comments
 (0)