diff --git a/plugins/nginx-vhosts/post-create b/plugins/nginx-vhosts/post-create index 161dd046e..04f15e915 100755 --- a/plugins/nginx-vhosts/post-create +++ b/plugins/nginx-vhosts/post-create @@ -15,6 +15,10 @@ trigger-nginx-vhosts-post-create() { return fi + if [[ "$(fn-plugin-property-get "nginx" "--global" "proxy-status")" == "stopped" ]]; then + return + fi + nginx_build_config "$APP" }