initial pass at switching to plugn
This commit is contained in:
committed by
Jose Diaz-Gonzalez
parent
ac75c726ad
commit
7a545759f2
@@ -130,7 +130,7 @@ EOF
|
||||
|
||||
if is_deployed "$APP"; then
|
||||
dokku_log_info1 "Running nginx-pre-reload"
|
||||
pluginhook nginx-pre-reload $APP $DOKKU_APP_LISTEN_PORT $DOKKU_APP_LISTEN_IP
|
||||
plugn trigger nginx-pre-reload $APP $DOKKU_APP_LISTEN_PORT $DOKKU_APP_LISTEN_IP
|
||||
|
||||
dokku_log_verbose "Reloading nginx"
|
||||
validate_nginx && restart_nginx
|
||||
@@ -160,7 +160,7 @@ EOF
|
||||
fi
|
||||
;;
|
||||
help | nginx:help)
|
||||
cat && cat<<EOF
|
||||
cat<<EOF
|
||||
nginx:build-config <app>, (Re)builds nginx config for given app
|
||||
EOF
|
||||
;;
|
||||
|
||||
4
plugins/nginx-vhosts/plugin.toml
Normal file
4
plugins/nginx-vhosts/plugin.toml
Normal file
@@ -0,0 +1,4 @@
|
||||
[plugin]
|
||||
description = "dokku core nginx-vhosts plugin"
|
||||
version = "0.4.0"
|
||||
[plugin.config]
|
||||
Reference in New Issue
Block a user