How to configure SSL for remote access when several host NATed behind one public IP

I have one public IP and today I have one NAS and one Raspberry PI (running Home Assistent) behind my router. I have my own domain connected to this public IP. I have already earlier setup Lets Encrypt for the domain on my NAS. The NAS today get port 80 and 443 forwarded.

I would like to setup SSL for my Home Assistant also but I don’t understand how to do this. I assume that more persons than me have the same setup. Have you solved this situation?

/Niklas

Read :

and then just forward your port to your nginx

Thanks!
Will read and try when I get home.