Skip to content

Commit a940e04

Browse files
patriciasantaanaelithrar
authored andcommitted
update hostname variable formats (#16991)
1 parent 0a4835a commit a940e04

File tree

1 file changed

+4
-5
lines changed
  • src/content/docs/api-shield/management-and-monitoring

1 file changed

+4
-5
lines changed

src/content/docs/api-shield/management-and-monitoring/index.mdx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,21 +75,20 @@ Cloudflare supports hostname variables in the following formats:
7575

7676
```txt
7777
78-
Unknown macro: {hostVar1}.example.com
79-
80-
.foo.example.com
78+
{hostVar1}.example.com
8179
8280
foo.{hostVar1}.example.com
8381
84-
Unknown macro: {hostVar2}.{hostVar1}.example.com
82+
{hostVar2}.{hostVar1}.example.com
8583
```
8684

8785
Hostname variables must comprise the entire domain field and must not be used with other text in the field.
8886

8987
The following format is not supported:
9088

9189
```txt
92-
foo-{hostVar1}.example.com.
90+
91+
foo-{hostVar1}.example.com
9392
```
9493

9594
For more information on how Cloudflare uses variables in API Shield, refer to the examples from [API Discovery](/api-shield/security/api-discovery/).

0 commit comments

Comments
 (0)