Welcome! Log In Create A New Profile

Advanced

Re: modules and compiling nginx 1.21.3 from source

Sergey A. Osokin
October 28, 2021 05:40AM
Hi Ian,

hope you're doing well these days.

On Mon, Oct 25, 2021 at 07:09:42PM +0100, Ian Hobson wrote:
> Hi all,

[...]

Please take a look on the following line:

> --add-module=../nchan-1.2.12

The "--add-module" configure argument adds a module as a static,
i.e. built-in functionality, into main binary file nginx.

To compile a dynamic module for NGINX, please use "--add-dynamic-module"
argument for the configure script.

Also, please do not forget to add the "--with-compat" argument
for the configure script, see below link for details.

[...]

> Can someone point me to the docs, or explain how (and when) to use.

Here's the document describes how to compile a third-party dynamic module
for NGINX and NGINX Plus,
https://www.nginx.com/blog/compiling-dynamic-modules-nginx-plus/

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

modules and compiling nginx 1.21.3 from source

Ian Hobson October 25, 2021 02:10PM

Re: modules and compiling nginx 1.21.3 from source

Sergey A. Osokin October 28, 2021 05:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 273
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready