Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add ngx_http_map_module into nginx

Tags:

nginx

I'm having problems adding the module ngx_http_map_module into my nginx ./conf I tried the --with-ngx_http_map_module param but it doesn`t work. I'm kinda new to this so I could be doing something wrong. After I run that configuration I get this error :

./configure: error: invalid option "--with-http_map_module"

What am I doing wrong?

like image 628
Raul H Avatar asked Mar 14 '23 08:03

Raul H


1 Answers

Reading the file auto/options gives me the impression that this module is enabled by default.

See the definition here:

HTTP_MAP=YES

and the definition of a ./configure option here:

--without-http_map_module
like image 152
StephenKing Avatar answered Mar 15 '23 22:03

StephenKing