Nextcloud untrusted domain error, even after configuring it

i’m trying to access my next cloud instance running on a debian 11 server and i keep getting the untrusted domain error

i have the domain set up in the config.php file which in theory should do the trick.

i also have an nginx load balancer above nextcloud, and i have the IP address whitelisted in trusted_proxies

am i missing something?

Nextcloud version: 26.0.13
Operating system and version: Debian 11
PHP version: 8.1.6