Skip to content

Commit

Permalink
update hostname variable formats (#16991)
Browse files Browse the repository at this point in the history
  • Loading branch information
patriciasantaana authored Sep 20, 2024
1 parent 1b0b5ff commit 04a98e0
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,21 +75,20 @@ Cloudflare supports hostname variables in the following formats:

```txt
Unknown macro: {hostVar1}.example.com
.foo.example.com
{hostVar1}.example.com
foo.{hostVar1}.example.com
Unknown macro: {hostVar2}.{hostVar1}.example.com
{hostVar2}.{hostVar1}.example.com
```

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

The following format is not supported:

```txt
foo-{hostVar1}.example.com.
foo-{hostVar1}.example.com
```

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

0 comments on commit 04a98e0

Please sign in to comment.