Nginx reverse proxy and certbot setup on a Linux Server

A few months ago, I ordered a new virtual server with Ubuntu 22.04 Linux because my old one was out of support. Instead of using Plesk to manage everything I wanted to take a vanilla approach. The idea is to make everything scriptable and automate as much as possible. I wanted to avoid the additional attack surface a management software like Plesk or cPanel brings into the game. Every application…