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:
committed by
Jeffery Utter
parent
6a7de8d7e8
commit
1a7d68a3fc
@@ -69,6 +69,7 @@ server {
|
||||
}
|
||||
EOF
|
||||
fi
|
||||
pluginhook nginx-pre-reload $APP
|
||||
nc -U $HOME/reload-nginx
|
||||
echo "$hostname" > "$HOME/$APP/VHOST"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user