That's just the "normal" #nginx domain, location and #reverseProxy stuff. I don't have a good example at hand (we have it at work, but the git is not yet public, sorry), maybe others can point to a good tutorial?
Prosody IM (npub1jyt…9kzy) maybe?
(Reminder to myself: Put more $dayjob stuff to the public git. There are no secrets anyway.)
#Jabber #XMPP #prosody