From b31d2c7e01bd50d05b5f0d0eb592dc98f6de7e49 Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Thu, 24 Mar 2022 11:47:47 +0100 Subject: [PATCH] registries.conf: prefixes: subdomain matching Mention that wildcarded prefixes match an arbitrary number of subdomains. Closes: #1387 Signed-off-by: Valentin Rothberg --- docs/containers-registries.conf.5.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/containers-registries.conf.5.md b/docs/containers-registries.conf.5.md index 928387b69a..84bf05987b 100644 --- a/docs/containers-registries.conf.5.md +++ b/docs/containers-registries.conf.5.md @@ -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` 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).