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 "$@"