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
This commit is contained in:
Jeffery Utter authored and Jeffery Utter committed 2013-08-27 09:47:41 -05:00
1 parent 6a7de8d7e8
commit 1a7d68a3fc
1 file changed
+1
+1
View File
@@ -69,6 +69,7 @@ server {
} }
EOF EOF
fi fi
pluginhook nginx-pre-reload $APP
nc -U $HOME/reload-nginx nc -U $HOME/reload-nginx
echo "$hostname" > "$HOME/$APP/VHOST" echo "$hostname" > "$HOME/$APP/VHOST"
fi fi