How to access behind reverse proxy?

I am using nginx in front of HA, which has the SSL termination… Nginx is one a different system than HA.
Appdaemon, runs on port 5050 on the same device as HA.

I cannot seem to access it using my domain name (through nginx).
When I go to the addon, I see the link for “Open web ui” is mydomain.com:5050.
Since I’ve terminated with SSL, this gives me an error.

Suggestions on how to solve this?

How did you install and configure AppDaemon?

How did you configure nginix to proxy appdaemon?

What is the exact error it gives you?

What the nginx log says?

Whith that little information it’s hard to help you…

In my homelab I use treafik via docker in the same host of appdaemon, so it’s not really the same as you, but:

  • the proxy is configured to forward traffic to appdaemon IP (via the docker name thanks to the docker dns) and port 5050 when the request tries to reach appdaemon.mydomain.com
  • appdaemon docker is started with the environment variable DASH_URL=http://appdaemon.mydomain.com:5050
  • I set up my pi-hole (local DNS) to resolve appdaemon.mydomain.com to the IP of the proxy host (useful to use the same address both locally and remotely)

Hope this helps