SSL problem at the login form


I use the Nextcloud 21 plugin on my Freenas 11.3 and want to access to the nextcloud via SSL. For the SSL setup I used this tutorial: Install and configure Nextcloud plugin on FreeNAS with SSL - All setup work was fine without an error.

Nextcloud was good without SSL. Now, when I access via https, the login website is broken. When I go to my domain, I get a redirection to /login. The result is this:

Usually there should be a login form.

How can I fix it?

Thank you



nextcloud config

There is a model for nginx configs:

location ~ \.php(?:$|/) { is missing in your configuration, so the php-files are not interpreted. Not sure, the config.php file shouldn’t be in the ssl-configuration (I suppose it’s just a copy&paste error).