安装支持Webdav的nginx

安装支持Webdav的nginx,nginx,openssl,homebrew,Nginx,Openssl,Homebrew,我正在使用MacOS。 使用brew安装nginx: brew install nginx 但是这个nginx没有webdav支持 nginx: [emerg] unknown directive "dav_methods" 所以我发现有 使用--上载模块安装它 brew install homebrew/nginx/nginx-full --with-upload-module 上面说,我没有OpenSSL: checking for OpenSSL library ... not fo

我正在使用MacOS。 使用brew安装nginx:

brew install nginx
但是这个nginx没有webdav支持

nginx: [emerg] unknown directive "dav_methods"
所以我发现有 使用
--上载模块安装它

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
获取:
警告:openssl-1.0.2j已经安装,只是没有链接。


如何解决此问题?

通过从

然后配置webDav支持:

./configure --with-http_dav_module

nginx full
已从主自制中删除,目前是社区支持的tap
denji/nginx