Reverse proxy with subdomain

I tried the one you linked and I got AdGuard working on domain.com/aghome but not sub.domain.com

I had to change the for https from 443 to 4443 to stop getting the error so I don’t know if the reverse proxy is working?

Yes I have the same lines in the jellyfin config but no dice.