TRusted domain error with reverse proxy nginx

Hi.
I’ve installed owncloud and used apache as a web server on a debian 11 with no problem.
But now I want to use it behind a NginX reverse proxy.
I’ve configured all but I have the error page “trusted domains”.
the reverse proxy is installed on the same server, so I’ve added on the config.php file : ‘trusted_proxies’ => array ([‘127.0.0.1’]),

What I’ve forgot ? Thanks in advance for your help.