From b79debb72746211ec60a89e25925620bc5c73b69 Mon Sep 17 00:00:00 2001 From: Brock Tice Date: Tue, 26 May 2015 09:30:30 -0600 Subject: [PATCH] Added fix to allow access to all files under owncloud webdav. --- conf/nginx.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index bf204a6a..feb8e65f 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -54,6 +54,13 @@ server { alias /var/lib/mailinabox/mozilla-autoconfig.xml; } + # Allow everything in owncloud webdav + location ^~ /cloud/remote.php/webdav/.* { + log_not_found off; + access_log off; + allow all; + } + # Disable viewing dotfiles (.htaccess, .svn, .git, etc.) location ~ /\.(ht|svn|git|hg|bzr) { log_not_found off;