Skip to main content

Chapter 20: Using Nginx Proxy Manager with a Network Load Balancer

If you’re behind a Network Load Balancer (NLB) and want to manage SSL certificates and reverse proxying with ease, Nginx Proxy Manager (NPM) is a powerful web-based tool that simplifies the process. In this chapter, you’ll learn how to:

  1. Upload your SSL certificate manually.
  2. Set up a Proxy Host for your website.

Step 1: Add the SSL Certificate (Custom)

  1. Access Nginx Proxy Manager in your browser.
    Example: http://<your-npm-ip>:81
  2. Log in with your admin credentials.
  3. Go to SSL Certificates tab.
  4. Click "Add SSL Certificate" → Select "Custom".
  5. Fill in the fields:
    • Name: Something descriptive like hexacats.cloud
    • Certificate Key: Paste the contents of
      /etc/letsencrypt/live/hexacats.cloud/privkey.pem
    • Certificate: Paste the contents of
      /etc/letsencrypt/live/hexacats.cloud/fullchain.pem
  6. Click Save.

This step allows NPM to use your own Let's Encrypt certificates securely.