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        [email protected]
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to