Welcome! Log In Create A New Profile

Advanced

Re: Dynamic module search paths?

Maxim Dounin
February 12, 2016 06:36AM
Hello!

On Thu, Feb 11, 2016 at 02:03:45PM -0800, Yichun Zhang (agentzh) wrote:

> Hi folks
>
> It seems to me that the the load_module directive for loading NGINX
> dynamic modules just use the server prefix when resolving relative
> module DSO file paths specified in nginx.conf.
>
> Here is my wishlist: I hope that we can have support for module search
> paths specified via an external environment or an nginx command-line
> option so that nginx.conf can be more portable across different
> environments.
>
> This is particularly useful when distributing various NGINX-based
> applications where a single NGINX installation can serve multiple
> different applications with different server prefixes in the same box
> at the same time.
>
> What do you think?

I don't like this idea. We already have two prefixes in nginx,
and this is 1 more than it should be.

If needed, a symbolic link from prefix can be used to point nginx
to appropriate place.

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

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

Re: Dynamic module search paths?

Maxim Dounin 423 February 12, 2016 06:36AM

Re: Dynamic module search paths?

Yichun Zhang (agentzh) 191 February 12, 2016 11:56AM

Re: Dynamic module search paths?

Maxim Dounin 240 February 12, 2016 07:50PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 105
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready