【问题标题】:Installing nginx with Webdav support安装支持 Webdav 的 nginx
【发布时间】:2017-01-19 10:51:46
【问题描述】:

我正在使用 Mac 操作系统。 用 brew 安装 nginx:

brew install nginx

但是这个 nginx 不支持 webdav。

nginx: [emerg] unknown directive "dav_methods"

于是我发现有nginx/full--with-upload-module安装它

brew install homebrew/nginx/nginx-full --with-upload-module

它说,我没有 OpenSSL:

checking for OpenSSL library ... not found
checking for OpenSSL library in /usr/local/ ... not found
checking for OpenSSL library in /usr/pkg/ ... not found
checking for OpenSSL library in /opt/local/ ... not found

所以我也尝试安装它:

brew install --force openssl

得到:Warning: openssl-1.0.2j already installed, it's just not linked.

我该如何解决这个问题?

【问题讨论】:

标签: nginx openssl homebrew


【解决方案1】:

通过从source 安装 nginx 解决了这个问题

然后配置 webDav 支持:

./configure --with-http_dav_module

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2022-07-06
    • 1970-01-01
    • 2022-06-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-12-23
    • 1970-01-01
    相关资源
    最近更新 更多