Install Nextcloud with Apache2 on Debian 10 » Vectops
vectops.com › 2021 › 01Jan 30, 2021 · SET UP APACHE2. 1) Make it run at startup: systemctl enable --now apache2. 2) Enable HTTPS traffic: a2enmod ssl. 3) Issue a new Let’s Encrypt SSL certificate: certbot certonly -d your.domain.tld. 4) Set up Apache virtual host: a2ensite your.domain.tld. Here’s a /etc/apache2/sites-available/your.domain.tld.conf file sample: