Curl to nextcloud refers to

Hey guys.

If i curl my nextcloud domain it refers

<title>301 Moved Permanently</title>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="">here</a>.</p>
<address>Apache Server at Port 80</address>

Where can I cange or disable it?

My nextcloud is on version 12.0.3 and Ubuntu 16.04 which is managed by Plesk onyx.

I have to renew the Lets encrypt certificate, which isnt possible due to this redirection.

Looks like an OwnCloud Enterprise Edition installation (, not Nextcloud ?!

Nope, this is definitely the free version of nextcloud, no enterprise and no owncloud.

It’s something with your Apache or web server configuration then, nothing to do with the Nextcloud software directly. There is definitely no redirect anywhere in the NC software/code that would point to Owncloud.
Maybe some old redirect configured elsewhere or Plesk making problems.

If you open the https connection, your setup seems to be ok:

I suppose your redirect from http is not correctly configured in your webserver.

I found it,

somehow in the Apache options it says

Redirect permanent /