Hello.
I followed the wiki guide for setup SSL and owncloud on nginx. At first i had one config file placed at /etc/nginx/nginx.conf and everything was working good. Then i decided to separate the owncloud Virtualhost from the main server config file and write it in a different one at /etc/nginx/servers-available.
The problem is that now, after i'am logging in at owncloud it redirects me to a not found page and error_log returns this :
$this->bbcode_second_pass_quote('', '[')error] 17737#0: *2 "/srv/http/owncloud/index.php/apps/files/index.php" is not found (20: Not a directory), client: 79...., server: b....., request: "GET /owncloud/index.php/apps/files/ HTTP/1.1", host: "b..."