Learning FRP

well lighttpd is not that easy to configure as revers proxy. Unfortunately. But I guess this might help on your journey

https://dietpi.com/forum/t/dietpi-emby-updating-emby-and-enabling-ssl/3637/12