![](https://memocambodia.com/wp-content/uploads/2024/05/what-is-nginx-850x478.png)
How To Install Nginx on Ubuntu 20.04
1. Install nginx
sudo apt update
sudo apt install nginx
2. Adjusting the Firewall
sudo ufw app list
You should get a listing of the application profiles:
Output
Available applications:
Nginx Full
Nginx HTTP
Nginx HTTPS
OpenSSH
It is recommended that you enable the most restrictive profile that will still allow the traffic you’ve configured. Right now, we will only need to allow traffic on port 80.
sudo ufw status
1. Install Nginx
sudo apt update
sudo apt install nginx
Leave a Reply