|
|
|
@ -171,6 +171,9 @@ function create_rproxy_conf
@@ -171,6 +171,9 @@ function create_rproxy_conf
|
|
|
|
|
function create_backend_conf |
|
|
|
|
{ |
|
|
|
|
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 |
|
|
|
|
RET_VAL=$? |
|
|
|
|
if [ ! ${RET_VAL} -eq 0 ]; then |
|
|
|
|