another thing I could think of is using location /owncloud instead of location /<div><br></div><div>so you keep the owncloud directory root, but tell nginx the location in the url should be /owncloud</div><div><br></div><div>
hope that works too.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 28, 2012 at 11:16 PM, Diederik de Haas <span dir="ltr"><<a href="mailto:didi.debian@cknow.org" target="_blank">didi.debian@cknow.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Wednesday 28 November 2012 19:18:14 Michael Grosser wrote:<br>
> Just went over the mail and I would say it could work when using root<br>
> /usr/share instead of /usr/share/owncloud<br>
<br>
</div>It indeed works (lol)!<br>
But it makes more (sub-) directories under /usr/share/ available through nginx<br>
and I only want the owncloud directory.<br>
On most directories I get a 403 Forbidden, but it looks like directories with a<br>
index.php in it are shown.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
Owncloud mailing list<br>
<a href="mailto:Owncloud@kde.org">Owncloud@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/owncloud" target="_blank">https://mail.kde.org/mailman/listinfo/owncloud</a><br>
</div></div></blockquote></div><br></div>