Welcome! Log In Create A New Profile

Advanced

Re: Modules needed to reverse proxy

Francis Daly
September 14, 2017 06:36PM
On Thu, Sep 07, 2017 at 02:37:24AM +0200, Jose Carlos Sánchez wrote:

Hi there,

> Hi, i need to recompile nginx to include modsecurity module and i want to take advantage of not compiling unnecessary modules.

> Someone has the list of modules needed to do reverse proxy?

../configure --help | grep -o -- --without'[^ ]'*

Use all of those except for --without-http (because you want to listen
for incoming http) and --without-http_proxy_module (because you want to
reverse-proxy to an upstream server).

After that, "nginx -t" will tell you if your config needs any other
modules -- for example, if you use "location ~", you might not want to
exclude pcre.

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

Modules needed to reverse proxy

Jose Carlos Sánchez September 06, 2017 08:38PM

Re: Modules needed to reverse proxy

Francis Daly September 14, 2017 06:36PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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