私信  •  关注

Daniele Dellafiore

Daniele Dellafiore 最近创建的主题
Daniele Dellafiore 最近回复了

我认为这不是最佳做法。您也不应该使用根用户访问Droplet。

您应该使用具有sudo授权的新用户设置Droplet,并完全删除根访问,如本指南中所述: https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-16-04

然后,您应该验证Droplet并使用certbot nginx插件存储SSL证书,如下所述:
https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-16-04

最后一个指南的步骤5解释了续订证书部分。