Minor changes.

This commit is contained in:
2021-09-09 10:37:12 +02:00
parent 596ec41d03
commit 16f908f880

View File

@@ -48,9 +48,11 @@ do_proxy_restart() {
done done
fi fi
done done
# in case of new proxy configuration generated needed to copy the domain name to the configs file.then remove new_config flag.
cat $PROXY_CONFIG_DIR/new_config >> $PROXY_CONFIG_DIR/configs if [[ -f $PROXY_CONFIG_DIR/new_config ]] ; then
rm $PROXY_CONFIG_DIR/new_config cat $PROXY_CONFIG_DIR/new_config >> $PROXY_CONFIG_DIR/config;
rm $PROXY_CONFIG_DIR/new_config;
fi
} }
check_domain() { check_domain() {