I brew install nginx on my Mac, but I don’t know where the configuration file is, and I use 'brew install nginx --add-module = xxxx' to add modules, it does not work. please, help!!!
The nginx-full brew formula has a number of options that allow you to install third-party modules.
See conclusion brew info nginx-full.
brew info nginx-full
eg. HttpHeadersMoreModule can be set using the command
brew install nginx-full --with-headers-more-module
Currently, the current method of adding modules is to install by URL.
brew install https://raw.github.com/marcqualie/homebrew-nginx/master/nginx.rb