"MaJ expl_create_vhost.sh"
This commit is contained in:
parent
2d736d43d4
commit
6c6c23da84
@ -171,6 +171,9 @@ function create_rproxy_conf
|
|||||||
function create_backend_conf
|
function create_backend_conf
|
||||||
{
|
{
|
||||||
fct_message "Création de la configuration du backend:" -color rose
|
fct_message "Création de la configuration du backend:" -color rose
|
||||||
|
fct_message " * Domaine: ${domain}"
|
||||||
|
fct_message " * Addresse IP du backend: ${IP_ADDR}"
|
||||||
|
fct_message " * Port: ${backend_port}"
|
||||||
sed -s ${REPLACE_DOMAIN} ${NC_EXPL_MOD}/${REMOTE_VHOST_TEMPLATE} > ${NC_EXPL_TMP}/${domain}.conf_${SH_SESSION_ID}.tmp
|
sed -s ${REPLACE_DOMAIN} ${NC_EXPL_MOD}/${REMOTE_VHOST_TEMPLATE} > ${NC_EXPL_TMP}/${domain}.conf_${SH_SESSION_ID}.tmp
|
||||||
RET_VAL=$?
|
RET_VAL=$?
|
||||||
if [ ! ${RET_VAL} -eq 0 ]; then
|
if [ ! ${RET_VAL} -eq 0 ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user