From 1dc69dca297a3e0fa15cc6ec7719f1427158f3e9 Mon Sep 17 00:00:00 2001 From: Simon L Date: Sat, 11 Feb 2023 21:26:07 +0100 Subject: [PATCH] Match only host names and not ip-addresses Signed-off-by: Simon L --- Containers/mastercontainer/Caddyfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Containers/mastercontainer/Caddyfile b/Containers/mastercontainer/Caddyfile index f068f2c3..1f77faa7 100644 --- a/Containers/mastercontainer/Caddyfile +++ b/Containers/mastercontainer/Caddyfile @@ -16,7 +16,12 @@ http://:80 { redir https://{host}{uri} } -https://:8443 { +# Match only host names and not ip-addresses: +https://*.*:8443, +https://*.*.*:8443, +https://*.*.*.*:8443, +https://*.*.*.*.*:8443, +https://*.*.*.*.*.*:8443 { reverse_proxy localhost:8000