Added fix to allow access to all files under owncloud webdav.

This commit is contained in:
Brock Tice 2015-05-26 09:30:30 -06:00
parent d6f26609fc
commit b79debb727
1 changed files with 7 additions and 0 deletions

View File

@ -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;