Make addon dashboard available from outside

I have addons I would like to reach when outside my network. For example apache2 and some other custom addons.

The apache2 adding try’s to open in ha but shows 502: bad gateway.

Another addon try’s to open with Nabu Casa cloud url and port, port is set to port forwarding on router but can not load.

I tried with the new option to included website as dashboard but I use internal http and external ha opens with https to the mixing does not work. I tried to add it with //:url:1234 so it can switch automatically between http and https but with no luck.

Any experience or guiding?

In particular for the addon developer: