Skip to content

Commit a2fb75b

Browse files
authored
[WAF] Fix incorrect expression for Zone Lockdown example (#19452)
1 parent 2c87be7 commit a2fb75b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/waf/tools/zone-lockdown.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Cloudflare recommends that you create [WAF custom rules](/waf/custom-rules/) ins
1919
For example, a custom rule equivalent to the Zone Lockdown [example rule](#example-rule) provided in this page could have the following configuration:
2020

2121
- **Description**: `Block all traffic to staging and wiki unless it comes from HQ or branch offices`
22-
- **Expression**: `((http.host eq "staging.example.com") or (http.host eq "staging.example.com" and starts_with(http.request.uri.path, "/wiki/")) and not ip.src in {192.0.2.0/24 2001:DB8::/64 203.0.133.1}`
22+
- **Expression**: `((http.host eq "staging.example.com") or (http.host eq "example.com" and starts_with(http.request.uri.path, "/wiki/")) and not ip.src in {192.0.2.0/24 2001:DB8::/64 203.0.133.1}`
2323
- **Action**: _Block_
2424

2525
:::

0 commit comments

Comments
 (0)