Custom hostname not working
I have homebridge for docker (on Ubuntu) running (v1.2.3).

In the UI Settings > Advanced > Reverse Proxy Hostname
I have set the value to "homebridge.mydomain.com"

In my DNS I have pointed homebridge.mydomain.com to the IP of the dockerserver.

I have ReverseProxy (jwilder/nginx-proxy:latest) running which catches all 443/80 trafic.
The hombridge is configured to be running on port 8082

When I type http://<IPofDockerServer>:8082 into the browser it works
When I type https://homebridge.mydomain.com with a port I get a 502 Bad Gateway

What am I missing here ?