安装支持 Webdav 的 nginx
Installing nginx with Webdav support
我正在使用 Mac OS。
使用 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.
我该如何解决这个问题?
通过从 source
安装 nginx 解决了这个问题
然后配置 webDav 支持:
./configure --with-http_dav_module
我正在使用 Mac OS。 使用 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.
我该如何解决这个问题?
通过从 source
安装 nginx 解决了这个问题然后配置 webDav 支持:
./configure --with-http_dav_module