what's the proper way to get module specific configuration in init_process

Maxim Dounin mdounin at mdounin.ru
Thu Jun 23 20:46:50 UTC 2022


On Thu, Jun 23, 2022 at 04:26:39PM +0800, lei shan wrote:

> That means we need move some configuration commands form server to main
> section. We will review the logic

An option might be to maintain, for example, an array of servers 
where your modules are activated in the main configuration.  Or 
some global things common for all servers, such as interpreter in 
the embedded Perl module.

Maxim Dounin

More information about the nginx-devel mailing list