In this simple tutorial, we will show you how quickly you can enable free SSL that Cloudamo provide for all clients.
STEP 1:
Over cPanel > File Manager > public_html > click to edit file: .htaccess and at top of file add this simple code:
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
That is all, your Nextcloud install will now load over https://