.well-known/webfinger Error and ocm-provider error

Helli i am using

Ubuntu 24.04
PHP 8.3
apache 2 - Version : 2.4.58

and still getting this 2 warning in my Nextcloud config the rest i have fixed

Your web server is not properly set up to resolve "/ocm-provider/". This is most likely related to a web server configuration that was not updated to deliver this folder directly. Please compare your configuration against the shipped rewrite rules in ".htaccess" for Apache or the provided one in the documentation for Nginx. On Nginx those are typically the lines starting with "location ~" that need an update. Voor meer informatie word je verwezen naar de documentatie↗.

our web server is not properly set up to resolve `.well-known` URLs, failed on: `/.well-known/webfinger` Voor meer informatie word je verwezen naar de documentatie↗.

can ya help me fix it ?

Thank You

Greetings Krykofox