Nextcloud not working after reboot ubuntu

As already said back in November. Something in your Apache config files is mismatched. Your /sites-available conf should look like this with all the required virtual websites parameters of course. It’s hard to guess without knowing something about your apache configuration.

<VirtualHost *:80>
ServerName cloud.yourname.com
DocumentRoot /var/www/cloud.yourname.com

<Directory “/var/www/cloud.yourname.com”>

< / Directory>

Redirect 301 / https://cloud.yourname.com

< / VirtualHost>

<VirtualHost *:443>

ServerName cloud.yourname.com
DocumentRoot /var/www/cloud.yourname.com

<Directory “/var/www/cloud.yourname.com”>

< / Directory>

SSLEngine on
SSLCertificateFile …
SSLCertificateKeyFile …
SSLCACertificateFile …

< / VirtualHost>

1 Like