mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #1187] npinxpm container unhealthy when stopped container name used in host config #971
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#971
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jacgl on GitHub (Jun 18, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1187
Hi,
I am using nginxpm to redirect traffic to another containers in docker, and typically I use container name instead of direct ip address. It works perfectly unless all containers are healthy.
BUT, when you restart docker and at least 1 container is not, nginxpm has the issue with start as well. Moreover, there is no access to web page, so no chance to even disable problematic container. In the log something like the line below can be found:
nginx: [emerg] host not found in upstream "mpd_mpc" in /data/nginx/proxy_host/21.conf:47,
(this is case when mpd_mpc is used in custom locations, but I believe the similar situation exists for "forward hostname")
Regards.
@chaptergy commented on GitHub (Jun 18, 2021):
Duplicate of https://github.com/jc21/nginx-proxy-manager/issues/633