Well-known/carddav not setup properly

So I’ve been struggling with this issue for a while now. I have the .htaccess file configured correctly, but I’m still unable to get rid of the warning in the admin panel.
Your web server is not properly set up to resolve “/.well-known/caldav”
Your web server is not properly set up to resolve “/.well-known/carddav”

Do I need to create a directory .well-known with redirect files in them? If not, what could I be doing wrong? I just installed a fresh docker image of version 18 and am having the same issue as my debian server also running version 18.