我在我的 Mac 上 brew install nginx,但我不知道配置文件在哪里,我使用 'brew install nginx --add-module=xxxx' 添加模块不起作用...请帮助!!!
问问题
9334 次
2 回答
14
nginx-full brew 公式有许多选项可让您安装 3rd 方模块。
查看 的输出brew info nginx-full
。
例如,可以使用命令安装HttpHeadersMoreModule
brew install nginx-full --with-headers-more-module
于 2014-10-01T13:18:25.580 回答
13
目前(2018 年 4 月)nginx-full
默认已弃用。要安装第 3 方模块:
brew tap denji/nginx
brew install nginx-full --with-nchan-module
(或其他一些模块)
于 2018-04-18T11:38:34.433 回答