Allow domain configuration deletion in Nginx script
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -28,7 +28,7 @@ if [[ "$LOCAL_NAME" == "" || "$LOCAL_NAME" == "null" ]]; then
|
|||||||
fi
|
fi
|
||||||
RELOAD_LOCATIONS=""
|
RELOAD_LOCATIONS=""
|
||||||
|
|
||||||
if [ -n "$2" ]; then
|
if [ -n "$2" ] || [ "$OPERATION" == "DELETE" ]; then
|
||||||
echo "$DOMAIN_NAME DELETED"
|
echo "$DOMAIN_NAME DELETED"
|
||||||
rm $DOMAIN_NAME.conf
|
rm $DOMAIN_NAME.conf
|
||||||
exit
|
exit
|
||||||
|
Reference in New Issue
Block a user