Warnings in the configuration Nextcloud

I inserted the code from @Joulinar before placing your @MichaIng

2 errors disappeared, need to solve
/.well-known/webfinger"
“/.well-known/nodeinfo”

ls -l /etc/nginx/sites-dietpi
grep '\[85\]' /boot/dietpi/.installed
dpkg -l | grep nginx
total 24
-rw-r--r-- 1 root root  580 Oct 10 21:34 Sonarr.conf
-rw-r--r-- 1 root root 1054 Oct 10 22:38 Tautuuli.conf
-rw-r--r-- 1 root root  205 Nov 19 08:56 dietpi-dav_redirect.conf
-rw-r--r-- 1 root root  880 Jul 16 00:12 jellyfin.conf
-rw-r--r-- 1 root root  382 Apr 15  2022 ombi.conf
-rw-r--r-- 1 root root 1558 Oct 16 21:11 qbt.conf
aSOFTWARE_INSTALL_STATE[85]=2
ii  libnginx-mod-http-echo                                      1.18.0-6.1+deb11u3               arm64        Bring echo and more shell style goodies to Nginx
ii  nginx-common                                                1.18.0-6.1+deb11u3               all          small, powerful, scalable web/proxy server - common files
ii  nginx-light                                                 1.18.0-6.1+deb11u3               arm64        nginx web/proxy server (basic version)
ii  python3-certbot-nginx                                       1.10.1-1                         all          Nginx plugin for Certbot
Your web server is not properly configured to resolve "/.well-known/webfinger". More information can be found in the documentation ↗.
Your web server is not properly configured to resolve "/.well-known/nodeinfo". More information can be found in the documentation ↗.
The PHP module "imagick" is not enabled, although the theming application is. For favicon generation to work correctly, you need to install and enable this module.
PHP modules "gmp" and/or "bcmath" are not enabled. If you use WebAuthn passwordless authentication, these modules are required.