Comment on Self hosted Onedrive alternative
MentalEdge@sopuli.xyz 1 day agoI also need to work out how to do automatic certificate renewal and if that’s even worth doing
This is what certbot is for. For example, with nginx, you just set up the webserver to be reachable via your domain.
You then install and run certbot, and it will aquire, install and configure, and then auto-renew a certificate. All with just one command.
With Nextcloud specifically I also don’t like the fact that you can’t change the domain after the initial setup
Yes you can?
I’ve done it thrice now.
Infernal_pizza@lemmy.dbzer0.com 1 day ago
How do you change the domain? That was one of the biggest things putting me off
irmadlad@lemmy.world 1 day ago
Locate and edit the config/config.php. There is a line that starts with ‘trusted_domains’ Add your new domain thusly:
You’ll have to update your web server configuration, your DNS records, and you may have to clear any server cache you may have.
MentalEdge@sopuli.xyz 15 hours ago
That’s the one.
irmadlad@lemmy.world 10 hours ago
Thanks for the backup. LOL I get nervous sharing code. Sure it worked for me, but in the back of my head I see some poor guy deploying any code I’ve used and smoke starts coming out of his server, the front cover falls off, and his Ethernet cable is belched out the back. LOL