From bb8a5764f09ad8291dfd8fc12bb43bf9bf2ab409 Mon Sep 17 00:00:00 2001 From: Doug Le Tough Date: Sat, 22 Jul 2017 09:51:15 +0200 Subject: [PATCH] "MaJ expl_create_vhost.sh" --- bin/expl_create_vhost.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/expl_create_vhost.sh b/bin/expl_create_vhost.sh index c0bb46a..ec0b24d 100755 --- a/bin/expl_create_vhost.sh +++ b/bin/expl_create_vhost.sh @@ -87,7 +87,7 @@ fi source ${NC_EXPL_CFG}/init.conf IP_ADDR=$(host ${backend_host} | rev | cut -d' ' -f1 | rev) -IS_PRESENT=$(grep -E ^${backend_host}$ ${DEHYDRATED_DOMAIN_LIST} | wc -l) +IS_PRESENT=$(grep -E ^${domain}$ ${DEHYDRATED_DOMAIN_LIST} | wc -l) REMOTE_HTTP_PATH=${backend_host}:${HTTPD_PATH} REPLACE_DOMAIN="s/SITE_NAME/${domain}/g" REPLACE_HOST="s/SITE_HOST/${backend_host}/g"