I have a server with nginx installed. I'd like to enable modules (specifically ngx_http_map_module). Ok questions:
1) How can I check if the module is installed or not? 2) What is the workflow for installing the module? The only way is to stop nginx, remove it and recompile with the new module? 3) Stopping nginx isn't an option as there is a live website already. Any other options for adding modules?
map
module is enabled by default. You could list all builded modules withnginx -V
command. You don't need to stop nginx to recompile it with other modules, but I guess you even don't need to recompile it.nginx -V
shows this pastebin.com/z1cunc0p where I don't see the map module enabled... or not?