Raul H
Raul H

Reputation: 305

How to add ngx_http_map_module into 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?

Upvotes: 5

Views: 3677

Answers (1)

StephenKing
StephenKing

Reputation: 37620

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

Upvotes: 8

Related Questions