Running code in nginx's master process
mdounin at mdounin.ru
Tue Oct 22 12:02:19 UTC 2013
On Mon, Oct 21, 2013 at 08:27:01PM -0400, mzabani wrote:
> Is it possible to have a module run code in nginx's master process, i.e. not
> in a worker process?
> I know init_master is just a stub for now. Are there any chances this gets
> implemented in the near future?
I wouldn't recommend running a code in master process, but if you
have to for some reason, you may try using init_module callback.
More information about the nginx