Welcome! Log In Create A New Profile

Advanced

Re: how to install nginx_substitutions_filter in existing Nginx

Francis Daly
June 06, 2017 01:22PM
On Tue, Jun 06, 2017 at 12:27:04AM -0400, David Woodstuck wrote:

Hi there,

> I am a new Nginx user. I just install Nginx 1.12. I like to
> use nginx_substitutions_filter. I cannot figure out how to install
> nginx_substitutions_filter in previously existing Nginx.

You (probably) don't.

https://www.nginx.com/resources/admin-guide/installing-nginx-open-source/

describes how to build from source in general;

https://www.nginx.com/resources/wiki/modules/substitutions/

describes how to include the modules you mention, in specific.

> Should I unstall Nginx first?

You can run "nginx -V" to see the "configure" arguments that were used
to create your current version. Then add the extra bits that you want.

Depending on precisely how you installed your current nginx, you probably
*do* want to uninstall it before installing the new one.


If your current nginx supports dynamic modules (1.12 does), and if
this extra module you want supports being built as a dynamic module,
then you may be able to build-and-add the module.

I suspect that in your case, you will probably find more clear
documentation on how to build-and-maintain a new nginx than how to
build-and-maintain the extra module.

I also suspect that, based on parallel mail threads, you probably do
not need the extra module.

It is still useful to know how to add a module that you want, so it is
certainly worth trying it on a test system, at least.

Good luck with it,

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

how to install nginx_substitutions_filter in existing Nginx

David Woodstuck June 06, 2017 12:28AM

Re: how to install nginx_substitutions_filter in existing Nginx

Francis Daly June 06, 2017 01:22PM

Re: how to install nginx_substitutions_filter in existing Nginx

David Woodstuck June 18, 2017 10:08PM

Re: how to install nginx_substitutions_filter in existing Nginx

Francis Daly June 21, 2017 06:10PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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