Nextcloud erkennt nicht, dass es über https angesprochen wird.
in der config.php hinzufügen
'overwriteprotocol' => 'https'