mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-22 03:06:55 +00:00
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
Block a user