On 10/01/24 6:09 pm, Akshay S Dinesh wrote:
Interesting. Deserves a blog post. Accessing sites via ssh.
Can add an appendix of alternatives like DNS based https certificate from letsencrypt (obtained on a different machine, copied to the old machine), self generated https certificate, you could likely run caddy on the original server too since it's a single binary.
It is a bit complicated setup managed by vesta and apache with multiple domains, we will have to have full caddy setup for nextcloud (php-fpm or other cgi setup etc). This makes sense if we were to keep running it for longer. The expectation here is for people to just backup/migrate their data.
caddy binary runs on the server, but releasing 80 and 443 ports from vesta/apache and configuring nextcloud via php fpm is more involved (it could be done).