Welcome! Log In Create A New Profile

Advanced

Re: Rebuilding Nginx

March 14, 2012 02:50AM
On Tue, 2012-03-13 at 23:55 -0400, adam estes wrote:
> I want to add a module to my nginx build.
>
> The only problem is that I don't know where the source files are located at.

How did you install Nginx? If you installed from a repository (e.g.
with yum or apt-get), then there is no source. You will need to
download the tar archive and build from source.

> How do I find them, and then how to I rebuild with of my modules, plus
> the new one?

Usually you use something like:

../configure --add-module=/path/to/module/source --other-options
make
make install

You can get a good idea of what --other-options should be by running

nginx -V

and noting the configure arguments of your current binary.

Regards,
Cliff

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

Rebuilding Nginx

adam estes March 13, 2012 11:56PM

Re: Rebuilding Nginx

Cliff Wells March 14, 2012 02:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 191
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