I have the following rewrite rule, used for WordPress Network to handle the file requests:
location @rewrite {
rewrite ^/(.*)$ /index.php?q=$uri&$args;
rewrite ^.*/files/(.*)$ /wp-includes/ms-files.php?file=$1 last;
}
I seems that running owncloud 3 on the same domain the dav requests are caught by this rule. Therefore I'd like to extend the line to only be applied of no owncloud word was found in the uri.
Can someone help me, please?