Added fix to allow access to all files under owncloud webdav.
This commit is contained in:
parent
d6f26609fc
commit
b79debb727
|
@ -54,6 +54,13 @@ server {
|
||||||
alias /var/lib/mailinabox/mozilla-autoconfig.xml;
|
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.)
|
# Disable viewing dotfiles (.htaccess, .svn, .git, etc.)
|
||||||
location ~ /\.(ht|svn|git|hg|bzr) {
|
location ~ /\.(ht|svn|git|hg|bzr) {
|
||||||
log_not_found off;
|
log_not_found off;
|
||||||
|
|
Loading…
Reference in New Issue