Why don’t you share your experience?
I don’t know what you are talking about. Everything is written in this thread otherwise it would not work for me.
Can you give the details of the modifications you made on your files?
What strings you’ve changed or added?
What was the mistake for the carddav link?
Finally I’ve found the solution.
You have to edit file .htaccess located in docker/your_nextcloud_folder.
<IfModule mod_rewrite.c> you have to edit just 2 strings:
RewriteRule ^\.well-known/carddav /remote.php/dav/ [R=301,L] RewriteRule ^\.well-known/caldav /remote.php/dav/ [R=301,L]
It should looks like this:
RewriteRule ^\.well-known/carddav https://your_site_address/remote.php/dav/ [R=301,L] RewriteRule ^\.well-known/caldav https://your_site_address/remote.php/dav/ [R=301,L]
I’m not sure, but after editing you may have to restart Nextcloud container.
Sorry for my English.