Minor bugfix.

This commit is contained in:
2021-09-29 11:32:00 +00:00
parent ba4241fb8f
commit 03dcc9b331

View File

@@ -50,7 +50,7 @@ do_proxy_restart() {
done done
# in case of new proxy configuration generated needed to copy the domain name to the configs file.then remove new_config flag. # in case of new proxy configuration generated needed to copy the domain name to the configs file.then remove new_config flag.
if [[ -f $PROXY_CONFIG_DIR/new_config ]] ; then if [[ -f $PROXY_CONFIG_DIR/new_config ]] ; then
if [[ "$(grep $DOMAIN $PROXY_CONFIG_DIR/new_config)" == "" ]] ; then if [[ "$(grep $DOMAIN $PROXY_CONFIG_DIR/config)" == "" ]] ; then
cat $PROXY_CONFIG_DIR/new_config >> $PROXY_CONFIG_DIR/config; cat $PROXY_CONFIG_DIR/new_config >> $PROXY_CONFIG_DIR/config;
fi fi