diff --git a/scripts/nginx_config_create.sh b/scripts/nginx_config_create.sh index 6780a5e..3f298c0 100755 --- a/scripts/nginx_config_create.sh +++ b/scripts/nginx_config_create.sh @@ -28,7 +28,7 @@ if [[ "$LOCAL_NAME" == "" || "$LOCAL_NAME" == "null" ]]; then fi RELOAD_LOCATIONS="" -if [ -n "$2" ]; then +if [ -n "$2" ] || [ "$OPERATION" == "DELETE" ]; then echo "$DOMAIN_NAME DELETED" rm $DOMAIN_NAME.conf exit