cctl01@feddit.nlOPtoSelfhosted@lemmy.world•Nextcloud behind Cloudflare zero trustEnglish
2·
3 days ago3 people independently advice dns challenge. They all deserve the same appreciation don’t they?
3 people independently advice dns challenge. They all deserve the same appreciation don’t they?
Would a bot tell you? 🧐
Thanks for the reply, among all answers I chose this. Just because it works for me.
Thanks for the reply, among all answers I chose this. Just because it works for me.
Thanks for the reply, among all answers I chose this. Just because it works for me.
Duplicati to Backblaze B2 for the important stuff. For as far as the media library goes, no backup just local raid setup…
This worked great. For those looking to apply the same solution. And running Nextcloud in snap. You need a cert.pem, key.pem and chain.pem file. The latter can be found here: https://developers.cloudflare.com/ssl/origin-configuration/origin-ca/#cloudflare-origin-ca-root-certificate The cert and key can be generated from your Cloudflare Dashboard under Domains > SSL/TLS > Edge Certificate.
Place all three files in
/var/snap/nextcloud/12345/certs/live/
where 12345 can vary for you.Finally
sudo nextcloud.enable-https custom cert.pem key.pem chain.pem
Profit!