Need help to configure nextcloud jail in truenas core to trust my nginxproxy manager

I have configured nginx proxy manager and wordpres in openmediavault and nextcloud in truenas core so 2 servers
i need help to configure nexcloud to work with nginxproxy maanger
what to chnage in config and where can i find the file
i allready proxied my subdoamin to point to my nextclou internal ip but have to add proxxy ip as trusted proxies
Thank you