![使用 homebrew 安装 nginx 主线](https://linux22.com/image/94897/%E4%BD%BF%E7%94%A8%20homebrew%20%E5%AE%89%E8%A3%85%20nginx%20%E4%B8%BB%E7%BA%BF.png)
尝试使用自制程序安装主线(1.11.x)版本的nginx但没有成功,有办法吗? (我找到了这个http://brew.sh/homebrew-nginx/但没有主线具体说明)。
答案1
您可以使用以下命令查看安装选项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
要安装主线版本,请运行:
brew install --devel nginx