Nginx is a free, open-source, high-performance HTTP server. It is known for its stability, rich feature set, simple configuration, and low resource consumption. It can also work as a reverse proxy server by directing web traffic to specific servers.
This article will explain how to install Nginx on Ubuntu.
Install Nginx on ubuntu
- Update the software repository before installing new software.
$ sudo apt update
- Install Nginx using the below command.
$ sudo apt -y install nginx
- Verify that Nginx is installed by checking the software version.
$ nginx -v
- Check the status of the Nginx service.
$ sudo systemctl status nginx