"MaJ expl_create_vhost.sh"

This commit is contained in:
Doug Le Tough 2017-07-22 09:44:22 +02:00
parent 6c6c23da84
commit 365a7f41ee

View File

@ -86,7 +86,7 @@ fi
source ${NC_EXPL_CFG}/init.conf 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) IS_PRESENT=$(grep -E ^${DOMAIN}$ ${DEHYDRATED_DOMAIN_LIST} | wc -l)
REMOTE_HTTP_PATH=${backend_host}:${HTTPD_PATH} REMOTE_HTTP_PATH=${backend_host}:${HTTPD_PATH}
REPLACE_DOMAIN="s/SITE_NAME/${domain}/g" REPLACE_DOMAIN="s/SITE_NAME/${domain}/g"