Install nginx_signing.key
cd /etc/apt
curl -O https://nginx.org/keys/nginx_signing.key
apt-key add nginx_signing.key
Update apt source
vim /etc/apt/sources.list
deb http://nginx.org/packages/ubuntu/ bionic nginx
deb-src http://nginx.org/packages/ubuntu/ bionic nginx
apt-get update
apt-get install nginx