Browse Source

"MaJ expl_create_vhost.sh"

master
Doug Le Tough 5 years ago
parent
commit
bb8a5764f0
  1. 2
      bin/expl_create_vhost.sh

2
bin/expl_create_vhost.sh

@ -87,7 +87,7 @@ fi @@ -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"

Loading…
Cancel
Save