From 1a7d68a3fc36b686a3e0b1c5cfbea9510b7ad038 Mon Sep 17 00:00:00 2001 From: Jeffery Utter Date: Tue, 27 Aug 2013 09:20:04 -0500 Subject: [PATCH] Add nginx configure hook This adds a pluginhook for nginx-configure to be called after the main nginx configuration is called and before nginx is reloaded. This will allow other plugins to modify the nginx configuration --- plugins/nginx-vhosts/post-deploy | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/nginx-vhosts/post-deploy b/plugins/nginx-vhosts/post-deploy index 959010c21..29cc35eae 100755 --- a/plugins/nginx-vhosts/post-deploy +++ b/plugins/nginx-vhosts/post-deploy @@ -69,6 +69,7 @@ server { } EOF fi + pluginhook nginx-pre-reload $APP nc -U $HOME/reload-nginx echo "$hostname" > "$HOME/$APP/VHOST" fi