Nextcloud 12 & nginx, getting Error 404 for Index

I’ve setup Nextcloud 12 with the standard config file from the official Nextcloud Page for nginx. When I’m visiting cloud(.)mydomain(.)com, I’m getting an Error 404, but if i’m vist cloud.mydomain.com/index.php I’m getting the login Page.

Nextcloud: 12
nginx: 1.10.3
OS: Debian 9
nginx site-config: http://paste.debian.net/980663/

Hi,

actually it doesn’t look like the standard config from Nextcloud installation guide :wink:

I believe you need to remove:
index index.html index.htm index.php;

Best would be to copy the full config from the guide again:
https://docs.nextcloud.com/server/12/admin_manual/installation/nginx.html

1 Like

Hello,
I completely renewed the config file again and it worked.
Thanks a lot!

Glad to hear that! :slight_smile:

Please mark this issue as solved then. :+1: