如何将ngx_http_map_module添加到nginx

Rau*_*l H 2 nginx

我在将模块ngx_http_map_module添加到我的nginx ./conf 中时遇到问题,我尝试了该--with-ngx_http_map_module参数,但是它不起作用。我对此有些陌生,所以我可能做错了什么。运行该配置后,出现此错误:

./configure:错误:无效选项“ --with-http_map_module”

我究竟做错了什么?

Ste*_*ing 5

读取文件auto / options给我的印象是该模块默认为启用。

请参阅此处的定义:

HTTP_MAP=YES
Run Code Online (Sandbox Code Playgroud)

和定义./configure选择在这里

--without-http_map_module
Run Code Online (Sandbox Code Playgroud)