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