Nginx (engine-ex) is an open-source web server. It was originally created by Igor Sysoev in October 2004.

Install Nginx on Ubuntu 22.04

sudo apt update
sudo apt install nginx

sudo apt install nginx

nginx -v

nginx -v

Check Nginx Status on Ubuntu

sudo systemctl status nginx

sudo systemctl status nginx

Configure Firewall for NGINX in Ubuntu

sudo ufw app list

sudo ufw app list

sudo ufw allow 'Nginx full'

sudo ufw allow nginx full

sudo ufw enable

sudo ufw enable

sudo ufw reload

sudo ufw reload

sudo ufw status

sudo ufw status

Configure NGINX on Ubuntu

curl -4 icanhazip.com
sudo mkdir -p /var/www/letmelearn.tech/public_html
sudo touch /etc/nginx/sites-available/letmelearn.tech.conf
sudo nano /etc/nginx/sites-available/letmelearn.tech.conf
server {
listen 80;
listen [::]:80;
server_name letmelearn.tech www.letmelearn.tech;
}
Sharing is Caring
Scroll to Top