summaryrefslogtreecommitdiff
path: root/frontends/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/scripts')
-rw-r--r--frontends/scripts/acme.sh.tpl3
1 files changed, 1 insertions, 2 deletions
diff --git a/frontends/scripts/acme.sh.tpl b/frontends/scripts/acme.sh.tpl
index cd6e4cc..b3301fa 100644
--- a/frontends/scripts/acme.sh.tpl
+++ b/frontends/scripts/acme.sh.tpl
@@ -20,8 +20,7 @@ handle_cert () {
host=$1
host_ip=`host $host | awk '/has address/ { print $(NF) }'`
- # Check for server block, accounting for f3s hosts which have -port80/-port8080 suffixes
- grep -q "^server \"$host" /etc/httpd.conf
+ grep -q "^server \"$host\"" /etc/httpd.conf
if [ $? -ne 0 ]; then
echo "Host $host not configured in httpd, skipping..."
return