Attach a hooks table to the event bus
|Kong.init ()||Init Kong's environment in the Nginx master process.|
Init Kong's environment in the Nginx master process.
To be called by the lua-nginx-module
init_by_luadirective. Execution: - load the configuration from the path computed by the CLI - instantiate the DAO Factory - load the used plugins
- load all plugins if used and installed - sort the plugins by priority
If any error happens during the initialization of the DAO or plugins, it return an nginx error and exit.