From bb412df99d9b413795027db7af885c75456f9266 Mon Sep 17 00:00:00 2001 From: Mark Shust Date: Thu, 13 Mar 2025 16:21:36 -0400 Subject: [PATCH] Fix bin/setup-ssl doesn't work for multiple domains #1257 --- compose/bin/setup-ssl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose/bin/setup-ssl b/compose/bin/setup-ssl index ef27487a2..d928fe9ff 100755 --- a/compose/bin/setup-ssl +++ b/compose/bin/setup-ssl @@ -1,5 +1,5 @@ #!/usr/bin/env bash -[ -z "$1" ] && echo "Please specify a domain (ex. mydomain.test)" && exit +[ $# -eq 0 ] && echo "Please specify at least one domain (ex. mydomain.test)" && exit # Generate certificate authority if not already setup if ! bin/docker-compose exec -T -u root app cat /root/.local/share/mkcert/rootCA.pem | grep -q 'BEGIN CERTIFICATE'; then