chore: drop nginx config if there is no network config for the app

This commit is contained in:
Jose Diaz-Gonzalez
2022-11-27 15:07:42 -05:00
parent e458c8e4a6
commit 22f6db1c6a

View File

@@ -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
}