From f93baa51d78317c737cbcd0d0ff5d8624e161d48 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: #1397 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 928387b69..12dcacaff 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.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).