Welcome! Log In Create A New Profile

Advanced

Re: Running code in nginx's master process

Maxim Dounin
October 22, 2013 08:04AM
Hello!

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.

--
Maxim Dounin
http://nginx.org/en/donation.html

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Running code in nginx's master process

mzabani October 21, 2013 08:27PM

Re: Running code in nginx's master process

Maxim Dounin October 22, 2013 08:04AM

Re: Running code in nginx's master process

mzabani October 24, 2013 08:37AM

Re: Running code in nginx's master process

Maxim Dounin October 24, 2013 12:50PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 98
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready