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:
- Upload your SSL certificate manually.
- Set up a Proxy Host for your website.
Step 1: Add the SSL Certificate (Custom)
- Access Nginx Proxy Manager in your browser.
Example:http://<your-npm-ip>:81
- Log in with your admin credentials.
- Go to SSL Certificates tab.
- Click "Add SSL Certificate" → Select "Custom".
- 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
- Name: Something descriptive like
- Click Save.
This step allows NPM to use your own Let's Encrypt certificates securely.