Skip to content

Commit

Permalink
registries.conf: prefixes: subdomain matching
Browse files Browse the repository at this point in the history
Mention that wildcarded prefixes match an arbitrary number of
subdomains.

Closes: #1397
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
  • Loading branch information
vrothberg committed Mar 25, 2022
1 parent 4604555 commit f93baa5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/containers-registries.conf.5.md
Expand Up @@ -43,6 +43,8 @@ also include wildcarded subdomains in the format `*.example.com`.
The wildcard should only be present at the beginning as shown in the formats
above. Other cases will not work. For example, `*.example.com` is valid but
`example.*.com`, `*.example.com/foo` and `*.example.com:5000/foo/bar:baz` are not.
Note that `*` matches an arbitary number of subdomains. `*example.com` will hence
match `bar.example.com`, `foo.bar.example.com` and so on.

As a special case, the `prefix` field can be missing; if so, it defaults to the value
of the `location` field (described below).
Expand Down

0 comments on commit f93baa5

Please sign in to comment.