Set up a reverse proxy with Nginx Proxy Manager
Updated August 29, 2026
Nginx Proxy Manager (NPM) is a web interface and packaged reverse-proxy setup for routing hostnames to services. It is useful when you want to manage proxy hosts and certificates without writing every Nginx directive by hand; it is not a substitute for understanding the service being exposed.
A typical setup needs:
- DNS records pointing the hostname to the proxy host.
- A reachable upstream address and port, such as
app:3000on a shared Docker network. - A proxy host configured with the correct scheme, hostname, and port.
- HTTPS enabled only after DNS and inbound ports are correct.
Use the project's current installation guide and pin the image version in deployments. Keep the admin interface off the public internet or protect it with network controls, change default credentials, and back up the NPM data/database volumes. A certificate does not make an exposed application safe; update the proxy and upstream, restrict management access, and check logs when a proxy returns 502 or 504.
Sources
related.
Ruslan Osipov
About the author