I configured new virtual host on my Nginx web-server for Nextcloud on its own subdomain “cloud.mydomain.tld” (I used Nginx-configuration from Nextcloud Administration manual). Then I installed Nextcloud on it using command-line (again, I followed info in Nextcloud Administration Manual). It took a few seconds, and at the end I got message:
Nextcloud was successfully installed
Then I started my web-server and pointed my web-browser to cloud.mydomain.tld but all I got in return was:
400 Bad Request
I also tried to connect to cloud.mydomain.tld/index.html but I got the same reply (btw, address has changed to cloud.mydomain.tld/index.php).
What could be reason for this? When I remove everything from this virtual-host web-directory, and create only index.php with content “
<?php phpinfo(); ?>” I get correct response from web-server showing all php-details. So web-server with php-handler is working…