digitalocean install nginx code example Example: install nginx on ubuntu 18.04 sudo apt update sudo apt install nginx