From a744f92f9f8d0710f21441c4a139a9d8c4f0510e Mon Sep 17 00:00:00 2001 From: hael Date: Tue, 16 May 2023 19:04:34 +0000 Subject: [PATCH] rewrite operation if nginx config file doesn't exists --- scripts/nginx_config_create.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/nginx_config_create.sh b/scripts/nginx_config_create.sh index 838cd34..39251d8 100755 --- a/scripts/nginx_config_create.sh +++ b/scripts/nginx_config_create.sh @@ -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