Error getting oc.js

Hi!
I made a fresh install and setup ran smoothly through.
But now I have a problem.
I see the following

I’m using NGINX with the standard virtual host config.
I just had to comment these out to get nginx start

fastcgi_request_buffering off;
fastcgi_pass php-handler;

Here is my Error log

2016/11/22 12:58:26 [error] 6646#0: *3 open() "/media/f147882d-b410-4463-873b-e1b81659918a/www/cloud//index.php/login" failed (20: Not a directory), client: 192.168.1.102, server: , request: "GET /index.php/login HTTP/1.1", host: "192.168.1.200:90"
2016/11/22 12:58:27 [error] 6646#0: *6 open() "/media/f147882d-b410-4463-873b-e1b81659918a/www/cloud//index.php/core/js/oc.js" failed (20: Not a directory), client: 192.168.1.102, server: , request: "GET /index.php/core/js/oc.js?v=f7d8f04619ecde140e312049aae6c158 HTTP/1.1", host: "192.168.1.200:90"
2016/11/22 12:58:27 [error] 6646#0: *6 open() "/media/f147882d-b410-4463-873b-e1b81659918a/www/cloud//index.php/core/vendor/jquery/dist/jquery.min.map" failed (20: Not a directory), client: 192.168.1.102, server: , request: "GET /core/vendor/jquery/dist/jquery.min.map HTTP/1.1", host: "192.168.1.200:90"

And why do I have two slashes?

www/cloud//index.php/

I tried a lot, but now I have no more ideas

Ok.
I found a very basic config file for nginx and it’s working.
Now I’ll add some parts from the new one from the docs and see what happen.

client_max_body_size 10G; # set max upload size
fastcgi_buffers 64 4K;

rewrite ^/caldav(.*)$ /remote.php/caldav$1 redirect;
rewrite ^/carddav(.*)$ /remote.php/carddav$1 redirect;
rewrite ^/webdav(.*)$ /remote.php/webdav$1 redirect;


error_page 403 /core/templates/403.php;
error_page 404 /core/templates/404.php;

location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}

location ~ ^/(data|config|\.ht|db_structure\.xml|README) {
deny all;
}

location / {
rewrite ^/.well-known/carddav /remote.php/carddav/ redirect;
rewrite ^/.well-known/caldav /remote.php/caldav/ redirect;

rewrite ^(/core/doc/[^\/]+/)$ $1/index.html;

try_files $uri $uri/ index.php;
}

location ~ ^(.+?\.php)(/.*)?$ {
try_files $1 = 404;

include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$1;
fastcgi_param PATH_INFO $2;
fastcgi_param HTTPS on;
fastcgi_pass $socket;
}

# Optional: set long EXPIRES header on static assets
location ~* ^.+\.(jpg|jpeg|gif|bmp|ico|png|css|js|swf)$ {
expires 30d;
# Optional: Don't log access to assets
access_log off;
}

Edit:
OH NO!!!
My fault. I found my error. I forgot to change the php-handler:

fastcgi_pass php-handler;

had to be

fastcgi_pass $socket;