What is Nginx Plus?

Nginx is an open-source web server. And it is Fantastic. It integrates well with many backends and application servers.

Nginx Plus is the commercial version of Nginx. Nginx Plus has more features than Nginx. Such as:

  • Session persistence to ensure requests are routed to the same upstream server.
  • A full-featured load balancer.
  • Discover services using DNS.
  • More control on cache
  • Single sign-on
  • WAF dynamic module
  • Active length checks to stop sending a request to faulty servers
  • Bandwidth controls for MP4 streaming
  • High availability clustering to avoid the single point of failures

Nginx Plus is available for the following distribution:

  • RHEL/CentOS
  • Amazon Linux
  • Oracle Linux
  • FreeSSD
  • Ubuntu
  • Debian
  • SUSE

And also available on the following IaaS (Infrastructure as a Service):

  • Google Cloud Platform (GCP)
  • Amazon Web Services (AWS)
  • Microsoft Azure

Installing Nginx Plus

As Ngnix is a paid product, we will require a license key to complete the installation, and it can be purchased from the Nginx store. But Nginx offers 30 days free trial version and also to explore the features before buying. So we can download and explore the trial copy.

First of all, if you have Nginx installed already, then you will need to uninstall it to prevent conflict.

To install the Ngnix Plus on Debian or Ubuntu, use the following steps:

Step 1: Create the /etc/ssl/nginx directory to store the repository certificates.

Step 2: We will need to download both public and private certificates from the Nginx customer portal https://cs.nginx.com and download nginx-repo.crt and nginx-repo.key files.

Step 3: Copy the files to the created /etc/ssl/nginx/ directory.

Step 4: Download the Nginx signing key from the official site of Nginx, i.e. nginx.org and add it through the following command:

Step 5: Install the apt-utils package and Nginx Plus repository:

Use the following command for Debian:

Or use the following command for Ubuntu:

Step 6: Download the 90nginx file to /etc/apt/apt.conf.d:

Step 7: Update the Repository information:

Step 8: Finally, after an update, the repository, install the nginx-plus package. To install the Nginx Plus use the following command: