How to switch from http to https?

I’m currently installing nextcloud on my webspace. Now I have activated an ssl certificate for my domain. How can I now switch from http to https for my nextcloud installation? Nextcloud wasn’t installed manually, but with the one click installer provided by my host.
I also already tried reinstalling, but it stays in http.

Thank you for your help!

Can you first check if your host provide a way to force the nextcloud instance’s url to redirect to https ?

You can test in config/config.php with your subdomain:

'overwrite.cli.url' => 'https://cloud.server.tld',
'overwriteprotocol' => 'https',

Of course you need a SSL virtual web server on port 443 and a corresponding SSL certificate.

Then above must be ok. But it is a risk to use Nextcloud on a webspace without shell access.

1 Like

YES, this worked perfectly!

Thank you very much!