Nextcloud does not accept https

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

Reply to
Steffen Bendix
Loading thread data ...

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.