As this add on runs in host network mode the port configuration shouldn't be in use so I've removed it in this PR.
I've then made the HTTP / HTTPS ports configurable. This allows me to run NGINX on ports 80/443 and forward these to the addon on different ports (I used 41080 and 41443 for testing).
This all worked and I partially got the Home Assistant connection working but I think there are some bugs there as well.
https://github.com/diyhue/hassio-addon/issues/5
As this add on runs in host network mode the port configuration shouldn't be in use so I've removed it in this PR.
I've then made the HTTP / HTTPS ports configurable. This allows me to run NGINX on ports 80/443 and forward these to the addon on different ports (I used 41080 and 41443 for testing).
This all worked and I partially got the Home Assistant connection working but I think there are some bugs there as well.