I configured my nethserver instance to create a virtualhost for nextcloud using those three really friendly commands :
config setprop nextcloud VirtualHost drive.mydomain.tld config setprop nextcloud TrustedDomains drive.mydomain.tld signal-event nethserver-nextcloud-update
It works perfectly, bu I remarked that each and every request to that virtualhost was redirected to
Now my problem is that I’d like to add the
/.well-known/carddav redirections (301 to /nextcloud/remote.php/dav) to the root of that VirtualHost (to enable auto-configuration of clients).
How do I do this ? (in a way that would survive configuration changes of course)