From 365a7f41ee27ac497c5892616ebf161604fc6f2e Mon Sep 17 00:00:00 2001 From: Doug Le Tough Date: Sat, 22 Jul 2017 09:44:22 +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 a245cf1..10b7f59 100755 --- a/bin/expl_create_vhost.sh +++ b/bin/expl_create_vhost.sh @@ -86,7 +86,7 @@ fi source ${NC_EXPL_CFG}/init.conf -IP_ADDR=$(host ${domain} | rev | cut -d' ' -f1 | rev) +IP_ADDR=$(host ${backend_host} | rev | cut -d' ' -f1 | rev) IS_PRESENT=$(grep -E ^${DOMAIN}$ ${DEHYDRATED_DOMAIN_LIST} | wc -l) REMOTE_HTTP_PATH=${backend_host}:${HTTPD_PATH} REPLACE_DOMAIN="s/SITE_NAME/${domain}/g"