Snobby
Snobby

Reputation: 1155

Installing nginx with Webdav support

I am using Mac OS. Installing nginx with brew:

brew install nginx

But this nginx doesn't have webdav support.

nginx: [emerg] unknown directive "dav_methods"

So i found that there is nginx/full Installing it with --with-upload-module

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

It says, I have no 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

So I tried to install it too:

brew install --force openssl

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

How can I solve this?

Upvotes: 2

Views: 1297

Answers (1)

Snobby
Snobby

Reputation: 1155

Managed this problem by installing nginx from the source

And then configure with webDav support:

./configure --with-http_dav_module

Upvotes: 1

Related Questions