Você pode ver as opções de instalação com brew options nginx
:
--with-debug
Compile with support for debug log
--with-gunzip
Compile with support for gunzip module
--with-http2
Compile with support for the HTTP/2 module
--with-passenger
Compile with support for Phusion Passenger module
--with-webdav
Compile with support for WebDAV module
--devel
Install development version 1.11.5
--HEAD
Install HEAD version
Para instalar a versão principal, execute:
brew install --devel nginx