Can't configure service discovery in Raspbian

I’m trying to update my Spanish installation guide with NC 12 and Raspbian Stretch and I have found a small problem. I’m trying to configure service discovery for syncing calendar and contacts with DAVdroid but I haven’t been able to do so, DAVdroid can’t find CalDAV nor CardDAV service.

Nextcloud version : 12.0.3
Operating system and version : Raspbian 9 Stretch
Apache or nginx version : 2.4.25-3+deb9u3
PHP version : 7.0.19-1
Is this the first time you’ve seen this error?: No

Can you reliably replicate it? (If so, please outline steps):

The issue you are facing: NC is installed in /nube folder. After configuring service discovery by adding
Redirect 301 /.well-known/carddav /nube/remote.php/dav
Redirect 301 /.well-known/caldav /nube/remote.php/dav

to /var/www/html/.htaccess

I try to setup an account in DAVdroid but it can’t find CalDAV nor CardDAV service when setting https://MYSERVER or https://MYSERVER/nube. However DAVdroid does find the account when setting https://MYSERVER/nube/remote.php/dav.

The output of your Nextcloud log in **Admin > There are no warnings aboud DAV in the log.

Can’t figure what’s happening, I have no clue.