I use homebrew to install nginx and how to add a 3rd module?

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!!!

+5
source share
2 answers

The nginx-full brew formula has a number of options that allow you to install third-party modules.

See conclusion brew info nginx-full.

eg. HttpHeadersMoreModule can be set using the command

brew install nginx-full --with-headers-more-module
+9
source

Currently, the current method of adding modules is to install by URL.

brew install https://raw.github.com/marcqualie/homebrew-nginx/master/nginx.rb
0
source

All Articles