From 22f6db1c6abd230e2199c528dbe0b10d3efcaf1e Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sun, 27 Nov 2022 15:07:42 -0500 Subject: [PATCH] chore: drop nginx config if there is no network config for the app --- plugins/nginx-vhosts/core-post-deploy | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/nginx-vhosts/core-post-deploy b/plugins/nginx-vhosts/core-post-deploy index dd113409c..00a9ceea1 100755 --- a/plugins/nginx-vhosts/core-post-deploy +++ b/plugins/nginx-vhosts/core-post-deploy @@ -25,6 +25,8 @@ trigger-nginx-vhosts-core-post-deploy() { rm -f "${DOKKU_LIB_ROOT}/data/nginx-vhosts/app-$APP/nginx.conf.sigil.$DOKKU_PID.missing" rm -f "${DOKKU_LIB_ROOT}/data/nginx-vhosts/app-$APP/nginx.conf.sigil" fi + else + nginx_clear_config "$APP" fi }