refactor: setup app domains in the post-create hook

This is more consistent with app setup, at the cost of making it so developers must disable domains manually afterwards.
This commit is contained in:
Jose Diaz-Gonzalez
2022-12-01 21:47:59 -05:00
parent 1fab98286b
commit 9eab17af11
6 changed files with 5 additions and 26 deletions

View File

@@ -16,7 +16,6 @@ trigger-nginx-vhosts-proxy-build-config() {
HAS_NETWORK_CONFIG="$(plugn trigger network-config-exists "$APP")"
if [[ "$HAS_NETWORK_CONFIG" == "true" ]]; then
plugn trigger domains-setup "$APP"
plugn trigger network-build-config "$APP"
nginx_build_config "$APP"
if [[ -f "${DOKKU_LIB_ROOT}/data/nginx-vhosts/app-$APP/nginx.conf.sigil.$DOKKU_PID" ]]; then