Install Nginx บน Ubuntu 18.04

sudo apt update

sudo apt install nginx

sudo ufw app list

sudo ufw allow ‘Nginx HTTP’

sudo ufw status

sudo systemctl stop nginx
sudo systemctl start nginx
sudo systemctl reload nginx

sudo systemctl enable nginx