Go back ⮌

Empty Nginx instance

Next one is nginx. You may ask why. That is reasonable question and the answer is simple. In next steps we will be using Certbot for acquiring certificates from Let’s Encrypt. To do so, we need to verify that we own the domain and one of the easiest ways to do so is to provide certain files via http. We can also run some funky maintenance website.

apt update
apt install nginx

We should also enable traffic on ports used by nginx.

ufw allow 80/tcp
ufw allow 443/tcp