Skip to content

Installing NGINX Plus LTS

Install F5 NGINX Plus LTS with step-by-step instructions for the base package on all supported distributions.

Since May 13, 2026, NGINX Plus is published in two release types: Long-Term Support (LTS) and Continuous Release (CR).

The NGINX Plus LTS release model is designed for mission-critical production environments. Each LTS release is supported for three years and receives security fixes and CVE mitigations without introducing new features. New features are delivered in CRs during the same annual LTS cycle.

  • Cadence: one LTS per year
  • Patching model: security/CVE fixes only, no feature changes
  • Support window: up to 3 years for each LTS release
  • Concurrency: up to 3 LTS versions supported at the same time
  • Version format: an LTS release has 0 as the second numeric component, for example: PLS.37.0.0.1. LTS updates increment the third component, for example: PLS.37.0.1.1.

NGINX Plus CRs are published several times within an annual LTS cycle. Each CR contains the latest features and performance improvements. The CR cycle ends when a new LTS is released.

By default, NGINX Plus repositories are configured to receive Continuous Releases. To use LTS, update your repository configuration to point to the LTS package URL, replacing the default URL. You can choose one of the options during installation:

  • Pin to current LTS only: receive only security updates for this LTS, no CRs, no automatic update to next LTS; supported up to three years. Follow the steps for your operating system in this guide.
  • Pin to LTS track: automatically upgrade to the newest LTS when it is released annually, no CRs. Follow the steps for your operating system in this guide.
  • Default: receive Continuous Releases within the current LTS release, automatically upgrade to each new LTS when it is released annually and then receive its CRs. See Installing NGINX Plus.

Before you begin, make sure you have:

Preparation steps for all operating systems

Section titled “Preparation steps for all operating systems”
  1. Check if your operating system and architecture are supported. For a complete list of supported platforms and architectures, see the Technical Specifications.

  2. Back up your NGINX Plus configuration and log files if you have an older NGINX Plus package installed. For more information, see Upgrading NGINX Plus.

  3. Download the SSL certificate, private key, and the JWT license file associated with your NGINX Plus subscription from the MyF5 Customer Portal:

  • Log in to MyF5.
  • Go to My Products & Plans > Subscriptions to see your active subscriptions.
  • Find your NGINX products or services subscription, and select the Subscription ID for details.
  • Download the <nginx-repo>.crt and <nginx-repo>.key from the subscription page.
  • Download the JSON Web Token (JWT) from the subscription page. See About Subscription Licenses for details.
  1. Create the /etc/ssl/nginx directory:
Terminal window
sudo mkdir -p /etc/ssl/nginx
  1. Copy the downloaded .crt and .key files to the /etc/ssl/nginx/ directory and make sure they are named nginx-repo.crt and nginx-repo.key:
Terminal window
sudo cp <downloaded-file-name>.crt /etc/ssl/nginx/nginx-repo.crt
sudo cp <downloaded-file-name>.key /etc/ssl/nginx/nginx-repo.key
  1. Follow the installation instructions for your operating system: Amazon Linux 2023, Amazon Linux 2, RHEL-based, Debian, Ubuntu, FreeBSD, SLES, Alpine.
  1. Make sure you have met all prerequisites and completed the common steps for all operating systems.

  2. Install the ca-certificates dependency:

Terminal window
sudo dnf update && \
sudo dnf install ca-certificates
  1. Add the NGINX Plus repository to your Amazon Linux 2023 instance. Download the plus-amazonlinux2023.repo file to /etc/yum.repos.d:

    Terminal window
    sudo wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/plus-amazonlinux2023.repo
  2. Modify your NGINX Plus repository configuration to pin to the desired LTS track. To change your update channel, edit the /etc/yum.repos.d/plus-amazonlinux2023.repo file and update the baseurl to the appropriate value for your target version.

    • Pin to current LTS version:

      baseurl=https://pkgs.nginx.com/plus/R37.0/amzn/2023/$basearch
    • Pin to LTS track:

      baseurl=https://pkgs.nginx.com/plus/LTS/amzn/2023/$basearch
  3. Install the nginx-plus package. Any older NGINX Plus package is automatically replaced.

Terminal window
sudo dnf install nginx-plus
  1. Copy the downloaded JWT file to the /etc/nginx/ directory and make sure it is named license.jwt:
Terminal window
sudo cp <downloaded-file-name>.jwt /etc/nginx/license.jwt
  1. Check the nginx version to verify that NGINX Plus LTS is installed correctly:

    Terminal window
    nginx -v

    The command output should indicate an LTS release: the second numeric component of the Plus release version should be 0:

    nginx version: nginx/1.29.8 (nginx-plus-r37.0.0)
  2. Make sure license reporting to F5 licensing endpoint is configured. By default, no configuration is required. However, it becomes necessary when NGINX Plus is installed in a disconnected environment, uses NGINX Instance Manager for usage reporting, or uses a custom path for the license file. Configuration can be done in the mgmt {} block of the NGINX Plus configuration file (/etc/nginx/nginx.conf). For more information, see About Subscription Licenses.

  3. If you are using NGINX Instance Manager in your infrastructure, install and enable NGINX Agent. See Install and Configure NGINX Agent for details.

  1. Make sure you have met all prerequisites and completed the common steps for all operating systems.

  2. Install the ca-certificates dependency:

Terminal window
sudo yum update && \
sudo yum install ca-certificates
  1. Add the NGINX Plus repository to your Amazon Linux 2 instance. Download the nginx-plus-amazon2.repo file to /etc/yum.repos.d:

    Terminal window
    sudo wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/nginx-plus-amazon2.repo
  2. Modify your NGINX Plus repository configuration to pin to the desired LTS track. To change your update channel, edit the /etc/yum.repos.d/nginx-plus-amazon2 file and update the baseurl to the appropriate value for your target version.

    • Pin to current LTS version:

      baseurl=https://pkgs.nginx.com/plus/R37.0/amzn2/$releasever/$basearch
    • Pin to LTS track:

      baseurl=https://pkgs.nginx.com/plus/LTS/amzn2/$releasever/$basearch
  3. Install the nginx-plus package. Any older NGINX Plus package is automatically replaced.

Terminal window
sudo yum install nginx-plus
  1. Copy the downloaded JWT file to the /etc/nginx/ directory and make sure it is named license.jwt:
Terminal window
sudo cp <downloaded-file-name>.jwt /etc/nginx/license.jwt
  1. Check the nginx version to verify that NGINX Plus LTS is installed correctly:

    Terminal window
    nginx -v

    The command output should indicate an LTS release: the second numeric component of the Plus release version should be 0:

    nginx version: nginx/1.29.8 (nginx-plus-r37.0.0)
  2. Make sure license reporting to F5 licensing endpoint is configured. By default, no configuration is required. However, it becomes necessary when NGINX Plus is installed in a disconnected environment, uses NGINX Instance Manager for usage reporting, or uses a custom path for the license file. Configuration can be done in the mgmt {} block of the NGINX Plus configuration file (/etc/nginx/nginx.conf). For more information, see About Subscription Licenses.

  3. If you are using NGINX Instance Manager in your infrastructure, install and enable NGINX Agent. See Install and Configure NGINX Agent for details.

Supported RHEL-based operating systems include Red Hat Enterprise Linux, Oracle Linux, AlmaLinux, and Rocky Linux for versions 8.1+, 9.7+, and 10+.

  1. Make sure you meet the prerequisites and have completed the common steps for all operating systems.

  2. Install the ca-certificates dependency:

Terminal window
sudo dnf update && \
sudo dnf install ca-certificates
  1. Add the NGINX Plus repository by downloading nginx-plus-.repo file that matches your OS major version to /etc/yum.repos.d.

    • For RHEL-based 8.1+, download the plus-8.repo file:

      Terminal window
      sudo wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/plus-8.repo
    • For RHEL-based 9.7+, download the plus-9.repo file:

      Terminal window
      sudo wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/plus-9.repo
    • For RHEL-based 10+, download the plus-10.repo file:

      Terminal window
      sudo wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/plus-10.repo
  2. Modify your NGINX Plus repository configuration to pin to the desired LTS track. To change your update channel, edit the /etc/yum.repos.d/plus-<version>.repo file and update the baseurl to the appropriate value for your target version.

    For RHEL-based 8.1+

    • Pin to current LTS version:

      baseurl=https://pkgs.nginx.com/plus/R37.0/centos/8/$basearch/
    • Pin to LTS track:

      baseurl=https://pkgs.nginx.com/plus/LTS/centos/8/$basearch/

    For RHEL-based 9.7+

    • Pin to current LTS version:

      baseurl=https://pkgs.nginx.com/plus/R37.0/centos/9/$basearch/
    • Pin to LTS track:

      baseurl=https://pkgs.nginx.com/plus/LTS/centos/9/$basearch/

    For RHEL-based 10+

    • Pin to current LTS version:

      baseurl=https://pkgs.nginx.com/plus/R37.0/centos/10/$basearch/
    • Pin to LTS track:

      baseurl=https://pkgs.nginx.com/plus/LTS/centos/10/$basearch/
    • Save the changes and exit.

    • Update the repository information:

      Terminal window
      sudo dnf update
  3. Install the nginx-plus package. Any older NGINX Plus package is automatically replaced.

Terminal window
sudo dnf install nginx-plus
  1. Copy the downloaded JWT file to the /etc/nginx/ directory and make sure it is named license.jwt:
Terminal window
sudo cp <downloaded-file-name>.jwt /etc/nginx/license.jwt
  1. To enable the NGINX service to start at boot, run the following command:
Terminal window
sudo systemctl enable nginx.service
  1. Check the nginx version to verify that NGINX Plus LTS is installed correctly:

    Terminal window
    nginx -v

    The command output should indicate an LTS release: the second numeric component of the Plus release version should be 0:

    nginx version: nginx/1.29.8 (nginx-plus-r37.0.0)
  2. Make sure license reporting to F5 licensing endpoint is configured. By default, no configuration is required. However, it becomes necessary when NGINX Plus is installed in a disconnected environment, uses NGINX Instance Manager for usage reporting, or uses a custom path for the license file. Configuration can be done in the mgmt {} block of the NGINX Plus configuration file (/etc/nginx/nginx.conf). For more information, see About Subscription Licenses.

  3. If you are using NGINX Instance Manager in your infrastructure, install and enable NGINX Agent. See Install and Configure NGINX Agent for details.

  1. Make sure you have met all prerequisites and completed the common steps for all operating systems.

  2. Install the prerequisites packages:

    Terminal window
    sudo apt update && \
    sudo apt install apt-transport-https \
    lsb-release \
    ca-certificates \
    wget \
    gnupg2 \
    debian-archive-keyring
  3. Download and add NGINX signing key:

    Terminal window
    wget -qO - https://cs.nginx.com/static/keys/nginx_signing.key \
    | gpg --dearmor \
    | sudo tee /usr/share/keyrings/nginx-archive-keyring.gpg >/dev/null
  4. Add the NGINX Plus repository:

    Terminal window
    printf "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] \
    https://pkgs.nginx.com/plus/debian `lsb_release -cs` nginx-plus\n" \
    | sudo tee /etc/apt/sources.list.d/nginx-plus.list
  5. Download the nginx-plus apt configuration to /etc/apt/apt.conf.d:

    Terminal window
    sudo wget -P /etc/apt/apt.conf.d https://cs.nginx.com/static/files/90pkgs-nginx
  6. Modify your NGINX Plus repository configuration to pin to the desired LTS track. To change your update channel, edit the /etc/apt/sources.list.d/nginx-plus.list file and update the URL to the appropriate value for your target version.

    • Pin to current LTS version:

      https://pkgs.nginx.com/plus/R37.0/debian
    • Pin to LTS track:

      https://pkgs.nginx.com/plus/LTS/debian
  7. Update the repository information:

    Terminal window
    sudo apt update
  8. Install the nginx-plus package. Any older NGINX Plus package is automatically replaced.

    Terminal window
    sudo apt install -y nginx-plus
  9. Copy the downloaded JWT file to the /etc/nginx/ directory and make sure it is named license.jwt:

Terminal window
sudo cp <downloaded-file-name>.jwt /etc/nginx/license.jwt
  1. Check the nginx version to verify that NGINX Plus LTS is installed correctly:

    Terminal window
    nginx -v

    The command output should indicate an LTS release: the second numeric component of the Plus release version should be 0:

    nginx version: nginx/1.29.8 (nginx-plus-r37.0.0)
  2. Make sure license reporting to F5 licensing endpoint is configured. By default, no configuration is required. However, it becomes necessary when NGINX Plus is installed in a disconnected environment, uses NGINX Instance Manager for usage reporting, or uses a custom path for the license file. Configuration can be done in the mgmt {} block of the NGINX Plus configuration file (/etc/nginx/nginx.conf). For more information, see About Subscription Licenses.

  3. If you are using NGINX Instance Manager in your infrastructure, install and enable NGINX Agent. See Install and Configure NGINX Agent for details.

  1. Make sure you have met all prerequisites and completed the common steps for all operating systems.

  2. Install the prerequisites packages:

    Terminal window
    sudo apt update && \
    sudo apt install apt-transport-https \
    lsb-release \
    ca-certificates \
    wget \
    gnupg2 \
    ubuntu-keyring
  3. Download and add NGINX signing key:

    Terminal window
    wget -qO - https://cs.nginx.com/static/keys/nginx_signing.key \
    | gpg --dearmor \
    | sudo tee /usr/share/keyrings/nginx-archive-keyring.gpg >/dev/null
  4. Add the NGINX Plus repository:

    Terminal window
    printf "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] \
    https://pkgs.nginx.com/plus/ubuntu `lsb_release -cs` nginx-plus\n" \
    | sudo tee /etc/apt/sources.list.d/nginx-plus.list
  5. Download the nginx-plus apt configuration to /etc/apt/apt.conf.d:

    Terminal window
    sudo wget -P /etc/apt/apt.conf.d https://cs.nginx.com/static/files/90pkgs-nginx
  6. Modify your NGINX Plus repository configuration to pin to the desired LTS track. To change your update channel, edit the /etc/apt/sources.list.d/nginx-plus.list file and update the URL to the appropriate value for your target version.

    • Pin to current LTS version:

      https://pkgs.nginx.com/plus/R37.0/ubuntu
    • Pin to LTS track:

      https://pkgs.nginx.com/plus/LTS/ubuntu
  7. Update the repository information:

    Terminal window
    sudo apt update
  8. Install the nginx-plus package. Any older NGINX Plus package is automatically replaced.

    Terminal window
    sudo apt install -y nginx-plus
  9. Copy the downloaded JWT file to the /etc/nginx/ directory and make sure it is named license.jwt:

Terminal window
sudo cp <downloaded-file-name>.jwt /etc/nginx/license.jwt
  1. Check the nginx version to verify that NGINX Plus LTS is installed correctly:

    Terminal window
    nginx -v

    The command output should indicate an LTS release: the second numeric component of the Plus release version should be 0:

    nginx version: nginx/1.29.8 (nginx-plus-r37.0.0)
  2. Make sure license reporting to F5 licensing endpoint is configured. By default, no configuration is required. However, it becomes necessary when NGINX Plus is installed in a disconnected environment, uses NGINX Instance Manager for usage reporting, or uses a custom path for the license file. Configuration can be done in the mgmt {} block of the NGINX Plus configuration file (/etc/nginx/nginx.conf). For more information, see About Subscription Licenses.

  3. If you are using NGINX Instance Manager in your infrastructure, install and enable NGINX Agent. See Install and Configure NGINX Agent for details.

  1. Make sure you have met all prerequisites and completed the common steps for all operating systems.

  2. Install the prerequisite ca_root_nss package:

    Terminal window
    sudo pkg update && \
    sudo pkg install ca_root_nss
  3. Copy the nginx-plus.conf file to the /etc/pkg/ directory:

    Terminal window
    sudo fetch -o /etc/pkg/nginx-plus.conf http://cs.nginx.com/static/files/nginx-plus.conf
  4. Add the following lines to the /usr/local/etc/pkg.conf file:

    PKG_ENV: { SSL_NO_VERIFY_PEER: "1",
    SSL_CLIENT_CERT_FILE: "/etc/ssl/nginx/nginx-repo.crt",
    SSL_CLIENT_KEY_FILE: "/etc/ssl/nginx/nginx-repo.key" }
  5. Modify your NGINX Plus repository configuration to pin to the desired LTS track. To change your update channel, edit the /etc/pkg/nginx-plus.conf file and update the URL to the appropriate value for your target version.

    • Pin to current LTS version:

      URL: pkg+https://pkgs.nginx.com/plus/R37.0/freebsd/${ABI}/latest
    • Pin to LTS track:

      URL: pkg+https://pkgs.nginx.com/plus/LTS/freebsd/${ABI}/latest
  6. Install the nginx-plus package. Any older NGINX Plus package is automatically replaced. Back up your NGINX Plus configuration and log files if you have an older NGINX Plus package installed. For more information, see Upgrading NGINX Plus.

    Terminal window
    sudo pkg install nginx-plus
  7. Copy the downloaded JWT file to the /usr/local/etc/nginx directory and make sure it is named license.jwt:

    Terminal window
    sudo cp license.jwt /usr/local/etc/nginx
  8. Check the nginx version to verify that NGINX Plus LTS is installed correctly:

    Terminal window
    nginx -v

    The command output should indicate an LTS release: the second numeric component of the Plus release version should be 0:

    nginx version: nginx/1.29.8 (nginx-plus-r37.0.0)
  9. Make sure license reporting to F5 licensing endpoint is configured. By default, no configuration is required. However, it becomes necessary when NGINX Plus is installed in a disconnected environment, uses NGINX Instance Manager for usage reporting, or uses a custom path for the license file. Configuration can be done in the mgmt {} block of the NGINX Plus configuration file (/usr/local/etc/nginx/nginx.conf). For more information, see About Subscription Licenses.

  10. If you are using NGINX Instance Manager in your infrastructure, install and enable NGINX Agent. See Install and Configure NGINX Agent for details.

  1. Make sure you have met all prerequisites and completed the common steps for all operating systems.

  2. Create a file bundle of the certificate and key:

    Terminal window
    cat /etc/ssl/nginx/nginx-repo.crt /etc/ssl/nginx/nginx-repo.key > /etc/ssl/nginx/nginx-repo-bundle.crt
  3. Install the required ca-certificates dependency:

    Terminal window
    zypper refresh
    zypper install ca-certificates
  4. Add the nginx-plus repo.

    For SLES 15, pinned to current LTS version:

    Terminal window
    zypper addrepo -G -t yum -c \
    "https://pkgs.nginx.com/plus/R37.0/sles/15?ssl_clientcert=/etc/ssl/nginx/nginx-repo-bundle.crt&ssl_verify=peer" \
    nginx-plus

    For SLES 15, pinned to LTS track:

    Terminal window
    zypper addrepo -G -t yum -c \
    "https://pkgs.nginx.com/plus/LTS/sles/15?ssl_clientcert=/etc/ssl/nginx/nginx-repo-bundle.crt&ssl_verify=peer" \
    nginx-plus

    For SLES 16, pinned to current LTS version:

    Terminal window
    zypper addrepo -G -t yum -c \
    "https://pkgs.nginx.com/plus/R37.0/sles/16?ssl_clientcert=/etc/ssl/nginx/nginx-repo-bundle.crt&ssl_verify=peer" \
    nginx-plus

    For SLES 16, pinned to LTS track:

    Terminal window
    zypper addrepo -G -t yum -c \
    "https://pkgs.nginx.com/plus/LTS/sles/16?ssl_clientcert=/etc/ssl/nginx/nginx-repo-bundle.crt&ssl_verify=peer" \
    nginx-plus
  5. Install the nginx-plus package. Any older NGINX Plus package is automatically replaced.

    Terminal window
    zypper install nginx-plus
  6. Copy the downloaded JWT file to the /etc/nginx/ directory and make sure it is named license.jwt:

Terminal window
sudo cp <downloaded-file-name>.jwt /etc/nginx/license.jwt
  1. Check the nginx version to verify that NGINX Plus LTS is installed correctly:

    Terminal window
    nginx -v

    The command output should indicate an LTS release: the second numeric component of the Plus release version should be 0:

    nginx version: nginx/1.29.8 (nginx-plus-r37.0.0)
  2. Make sure license reporting to F5 licensing endpoint is configured. By default, no configuration is required. However, it becomes necessary when NGINX Plus is installed in a disconnected environment, uses NGINX Instance Manager for usage reporting, or uses a custom path for the license file. Configuration can be done in the mgmt {} block of the NGINX Plus configuration file (/etc/nginx/nginx.conf). For more information, see About Subscription Licenses.

  3. If you are using NGINX Instance Manager in your infrastructure, install and enable NGINX Agent. See Install and Configure NGINX Agent for details.

  1. Make sure you have met all prerequisites and completed the common steps for all operating systems.

  2. Upload nginx-repo.key to /etc/apk/cert.key and nginx-repo.crt to /etc/apk/cert.pem. Ensure these files contain only the specific key and certificate — Alpine Linux doesn’t support mixing client certificates for multiple repositories.

  3. Put the NGINX signing public key in the /etc/apk/keys directory:

    Terminal window
    sudo wget -O /etc/apk/keys/nginx_signing.rsa.pub https://cs.nginx.com/static/keys/nginx_signing.rsa.pub
  4. Add the NGINX repository to the /etc/apk/repositories file.

    • Pin to current LTS version:

      Terminal window
      printf "https://pkgs.nginx.com/plus/R37.0/alpine/v`egrep -o '^[0-9]+\.[0-9]+' /etc/alpine-release`/main\n" \
      | sudo tee -a /etc/apk/repositories
    • Pin to LTS track:

      Terminal window
      printf "https://pkgs.nginx.com/plus/LTS/alpine/v`egrep -o '^[0-9]+\.[0-9]+' /etc/alpine-release`/main\n" \
      | sudo tee -a /etc/apk/repositories
  5. Remove all community-supported NGINX packages. Note that this will also remove all NGINX modules:

    Terminal window
    sudo apk del -r nginx
  6. Install the NGINX Plus package:

    Terminal window
    sudo apk add nginx-plus
  7. Copy the downloaded JWT file to the /etc/nginx/ directory and make sure it is named license.jwt:

Terminal window
sudo cp <downloaded-file-name>.jwt /etc/nginx/license.jwt
  1. Check the nginx version to verify that NGINX Plus LTS is installed correctly:

    Terminal window
    nginx -v

    The command output should indicate an LTS release: the second numeric component of the Plus release version should be 0:

    nginx version: nginx/1.29.8 (nginx-plus-r37.0.0)
  2. Make sure license reporting to F5 licensing endpoint is configured. By default, no configuration is required. However, it becomes necessary when NGINX Plus is installed in a disconnected environment, uses NGINX Instance Manager for usage reporting, or uses a custom path for the license file. Configuration can be done in the mgmt {} block of the NGINX Plus configuration file (/etc/nginx/nginx.conf). For more information, see About Subscription Licenses.

  3. If you are using NGINX Instance Manager in your infrastructure, install and enable NGINX Agent. See Install and Configure NGINX Agent for details.

For general upgrade instructions, see Upgrading NGNIX Plus.