Access from an unauthorized domain

I installed Nextcloud on a Debian server with Nginx as a web server.
I indicated in the config.php file, the authorized domains, the server’s local ip and the domain (
Despite this, I have the error “Access from an unauthorized domain”.

Do you have any idea how to solve the problem?
Thank you for your answers

Nextcloud version (eg, 18.0.2):
Operating system and version (eg, Ubuntu 20.04): Debian & MariaDb
Apache or nginx version (eg, Apache 2.4.25): Nginx
PHP version (eg, 7.1): 7.3

Hello @info_participative !!

Welcome in Nextcloud community !

Please, can we have your config.php to check it ?

When I try to connect to your server (, I get : ERR_NAME_NOT_RESOLVED.

Thank you for your answer.
Actually my dns is configured for
I changed the config.php file and now I don’t have the error.
But now I have another mistake!
I open another ticket