Dynamic module search paths?

Maxim Dounin mdounin at mdounin.ru
Sat Feb 13 00:48:18 UTC 2016


Hello!

On Fri, Feb 12, 2016 at 08:54:02AM -0800, Yichun Zhang (agentzh) wrote:

[...]

> Okay, if you guys really dislike the idea of configurable module
> search paths, how about just continuing searching the original
> installation prefix after searching the current server prefix
> specified by the -p command-line option fails?

The "-p" switch is to override compiler-time options.  No 
"original" prefix is expected to be used once this option is set.

> As you've said, we already have two prefixes, then let's search 
> both! :)

The two prefixes I've talked about are prefix and conf_prefix.  
And using both is not an option too.

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx-devel mailing list