Skip to content

Nginx Deployment⚓︎

1 Operating Procedure⚓︎

  • You can get the latest nginx release linux_packages from Nginx official web site, and verify install successfully through command line:
apt-get install -y curl gnupg2 ca-certificates lsb-release ubuntu-keyring
echo "deb http://nginx.org/packages/ubuntu focal nginx" > /etc/apt/sources.list.d/nginx.list
curl -o /etc/apt/trusted.gpg.d/nginx_signing.asc https://nginx.org/keys/nginx_signing.key
apt-get update
apt-get install -y nginx
echo > /etc/nginx/conf.d/default.conf

nginx -v
nginx version: nginx/1.20.2