Saturday, February 20 2021
In this tutorial, we explained about How to Install Nginx on Ubuntu 20.04. Nginx is a web server that can be used as reverse proxy, load balancer, mail proxy and HTTP cache.
Step 1: Update and Install nginx
sudo apt update sudo apt install nginx
Step 2: Allow Nginx web server via UFW firewall
sudo ufw app list sudo ufw allow 'Nginx HTTP'
Step 3: After that, Check the Nginx status
sudo ufw status
Then, You can run the http://localhost in the browser.