“easy”
https://docs.openhab.org/installation/security.html#nginx-reverse-proxy
or there’s a tutorial including some discussions here: