Hello, I set up ownCloud on on my server with ddns with apache2 and I managed to get the certificate working, however I have a redirect problem now. During the configuration of certbot I set it to always redierct to HTTPS. My domain name is removed.ddns.net
and when I put exactly that, it redirects to
https://removed.ddns.net/owncloud/owncloud/owncloud/owncloud/owncloud/owncloud/owncloud/owncloud/owncloud/owncloud/owncloud/owncloud/owncloud/owncloud/owncloud/owncloud/owncloud/owncloud/owncloud/owncloud/
Even https://removed.ddns.net/owncloud
redirects to the above
How do I fix this? In my apache2//sites-available/000-default-le-ssl.conf:
Edit: I don’t know why the formatting on here is odd when I paste the code so I put it on pastebin: http://pastebin.com/XxDq1RFq
Before I had the certificate, I had Redirect permanent to https://removed.ddns.net/owncloud
but have since removed that because I read in another issue that certbot does that automatically