I had to reinstall Nextcloud and now it does not accept https connections anymore. I have created an own certificate which is shown on connected clients. I have added this into the htaccess:
RewriteCond %{HTTPS} !=on RewriteCond %{ENV:HTTPS} !=on RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
In /etc/apache2/apache2.conf I wrote this:
Options +FollowSymlinks AllowOverride All
It does not work. What do I have to do to enable https for Nextcloud?
Steffen