rewrite operation if nginx config file doesn't exists

This commit is contained in:
2023-05-16 19:04:34 +00:00
parent 7abe197967
commit a744f92f9f

View File

@@ -402,6 +402,8 @@ if [ -f $DOMAIN_NAME.conf ]; then
fi;
else
# rewrite operation if nginx config file doesn't exists
OPERATION="CREATE";
create_new_config;
fi; # end of create new nginx config