【问题标题】:How to restart nginx with module on mac?如何在mac上使用模块重新启动nginx?
【发布时间】:2017-02-20 16:16:59
【问题描述】:

我使用 brew 在 Mac 上安装 nginx。现在我想添加一个模块 http_realip。我在文档中发现我应该使用命令./configuration --with-http_realip_module 来添加模块。但是我只能找到 nginx.conf 而不是配置文件。有谁知道Mac上配置文件的默认路径是什么?

【问题讨论】:

    标签: macos nginx


    【解决方案1】:

    我使用nginx-full解决了这个问题:brew install nginx-full --with-realip

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-08-01
      • 2019-05-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-04-01
      • 1970-01-01
      • 2011-02-15
      相关资源
      最近更新 更多