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
2013-08-27 09:20:04 -05:00
committed by Jeffery Utter
parent 6a7de8d7e8
commit 1a7d68a3fc

View File

@@ -69,6 +69,7 @@ server {
}
EOF
fi
pluginhook nginx-pre-reload $APP
nc -U $HOME/reload-nginx
echo "$hostname" > "$HOME/$APP/VHOST"
fi