I use homebrew to install nginx, and how to add 3rd modules?

Bar.B picture Bar.B · May 2, 2013 · Viewed 8k times · Source

I brew install nginx on my mac, but I don't know where is the configure file, and I use 'brew install nginx --add-module=xxxx' to add modules is not working... please help!!!

Answer

qff picture qff · Oct 1, 2014

The nginx-full brew formula has a number of options that enables you to install 3rd party modules.

See the output of brew info nginx-full.

E.g. the HttpHeadersMoreModule can be installed with the command

brew install nginx-full --with-headers-more-module