Hello, I have a question regarding the usage of a reverse-proxy which is part of a docker network.

I currently use Nginx Proxy Manager as a reverse-proxy for all my services hosted in docker. This works great since I can simply forward using each containers name. I have some services however (e.g. homeassistant) which are hosted separately in a VM or using docker on another device.

Is it possible to use the same reverse-proxy for those services as well? I haven’t found a way to forward to hosts outside of the proxies docker network (except for using the host network setting which I would like to avoid)

  • David From Space@orbiting.observer
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    10 months ago

    If you have any kind of firewall on your network, you might make sure it’s not blocking that port with a rule. Here’s a couple screenshots from my setup in case that helps.

    The config in NPM

    The config in HA’s configuration.yaml

    Try adding just the NPM IP and HA IP first, then add the docker internal network as well if you still have issues.