How to install NGINX on Ubuntu 22.04

NGINX is the web server that provides various services such as web proxy server, email proxy server, load balancing, media streaming, and so on.