Bare-metal installation of Nextcloud on an Ubuntu server tutorial. The goal of this guide is to have no warnings in the admin center and the instance should get a perfect security score from scan.nextcloud.com. There are two tutorials: one for a simple Apache2 instance, and the other one for an instance behind an NGINX proxy.