From 39beb8894f4289943e01a770e0313f42af6d09d5 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Thu, 24 Nov 2022 00:51:21 -0500 Subject: [PATCH] fix: cleanup app data --- plugins/nginx-vhosts/post-delete | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/nginx-vhosts/post-delete b/plugins/nginx-vhosts/post-delete index 1314918a4..5bbe81a7f 100755 --- a/plugins/nginx-vhosts/post-delete +++ b/plugins/nginx-vhosts/post-delete @@ -11,6 +11,7 @@ trigger-nginx-vhosts-post-delete() { fn-plugin-property-destroy "nginx" "$APP" restart_nginx "$@" >/dev/null + rm -rf "${DOKKU_LIB_ROOT}/data/nginx-vhosts/app-$APP" } trigger-nginx-vhosts-post-delete "$@"