[RESOLVED::]Nextcloud caldav redirection 301

Hi,

Passing to nextcloud, I cannot sync with Mac OS Sierra anymore (sniff). The rest work well and even better but this point.
I looked and it seems it’ a know bug (as here https://help.nextcloud.com/t/osx-and-nextcloud-not-connecting-via-caldav-405-method-not-allowed/8010 or here https://docs.nextcloud.com/server/11/admin_manual/issues/general_troubleshooting.html#troubleshooting-contacts-calendar)

The prob is that, I know a little Apache but nginx … I check also here => https://docs.nextcloud.com/server/11/admin_manual/installation/nginx_examples.html) but honestly …

is someone can tell me how to do that in nginx config (I think that will serve to others people also…)

Redirect 301 /.well-known/carddav /nextcloud/remote.php/dav
Redirect 301 /.well-known/caldav /nextcloud/remote.php/dav

thanks so much

SOLUTION

sorry for the spam but found the solution just after… without any nains config. (from here => https://help.nextcloud.com/t/getting-nextcloud-to-work-with-mac-os-x-adress-book/2269/22)

CalDAV :
First Please Choose “Advanced” for “Account Type”

Then in “Server Address” please type your domain like "
DOMAIN.COM

And in “Server Path” type :
/NEXTCLOUD/remote.php/dav/principals/users/USERNAME/

Notes:

  • Please remove /nextcloud/ if your nextcloud is installed in root of your domain.
  • Do not forget to change USERNAME to your own NextCloud User

CardDAV:

I selected “Manual” for “Account Type” and entered server path as below :

https://EXAMPLE.COM:MY_SERVER_PORT/nextcloud/remote.php/dav/principals/users/USERNAME
Notes :

Server port is usually SSL port (default : 443) but this value maybe different from server to server.
Please remove /nextcloud/ if your nextcloud is installed in root of your domain.
Do not forget to change USERNAME to your own NextCloud User

I am still fighting with CalDav and CardDav on MacOS.

Are there people here with more tips…? Before it would work if I do what is said in the previous post… but now… nothing…