尝试使用自制软件安装主线(1.11.x)版本的Nginx并没有成功,有没有办法? (我发现这个http://brew.sh/homebrew-nginx/但没有主线特定说明).
解决方法:
您可以使用brew选项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
要安装主线版本运行:
brew install --devel Nginx