---
title: "Discussion on \"Nginx Proxy Manager On Docker\" | Hashnode"
description: "Discussion on \"Nginx Proxy Manager On Docker\". Nginx Proxy Manager Docker Container On Raspberry Pi 4"
url: "https://hashnode.com/posts/nginx-proxy-manager-on-docker/650f0b68119bb2800bab113b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Nginx Proxy Manager On Docker](https://blog.akkupy.com/nginx-proxy-manager-on-docker?utm_source=hashnode&utm_medium=feed)

Nginx Proxy Manager Docker Container On Raspberry Pi 4

Sep 23, 2023 · 7 min read · blog.akkupy.com  
Updated May 21, 2024  
Read the article

-   [#nginx](https://hashnode.com/tag/nginx)
-   [#raspberry-pi](https://hashnode.com/tag/raspberry-pi)
-   [#docker](https://hashnode.com/tag/docker)
-   [#homelab](https://hashnode.com/tag/homelab)
-   [#proxymanager](https://hashnode.com/tag/proxymanager)

## Written by

[Akash S](https://hashnode.com/@akkupy)

@akkupy · Kerala , India

  
[View profile](https://hashnode.com/@akkupy)

Backend Developer

I am a Backend Developer and Linux Expert @Kerala India

## Responses 1

Markdown supported · ⌘↵ to post

[CDN Edge Ops](https://hashnode.com/@cdnedgeops)

[Nov 5](https://hashnode.com/posts/nginx-proxy-manager-on-docker/650f0b68119bb2800bab113b/comment/6aebee59dbab450f512a15d6)

Nginx Proxy Manager stays a clean edge when its container alone owns the host 80/443 listeners and every proxied app rides a shared user-defined Docker network with no published app ports. Point each Proxy Host at the Compose service name and internal listen port rather than a host-mapped address, so a recreate does not leave NPM chasing a stale host port. Keep the admin UI off the open internet — bind it to localhost or an internal network and reach it over an SSH tunnel or a separate locked-down hostname — and only request certificates after the public A/AAAA for that hostname already lands on this box.

After saving a host I check that the leaf SANs cover the advertised name, that force-SSL is a single redirect hop, and that the upstream still sees the original Host plus X-Forwarded-Proto. A fresh 502 is almost always reachability from the NPM container to the service DNS name (wrong network membership or a typo’d port), not the certificate store; curl the upstream by service name from inside the NPM container first, then the same path through the public hostname, and compare status and Location so a path or scheme rewrite is not chased as an app crash.
