allow ufw nginx ubuntu 18 code example Example: install nginx on ubuntu 18.04 sudo apt update sudo apt install nginx