I have nextcloud up and running using Traefik as proxy. When I navigate to
my-cloud.de/.well-known/caldav I get redirected to
my-cloud.de/remote.php/dav - which I think is correct. However, in the settings I still get a warning
Your web server is not properly set up to resolve “/.well-known/caldav”.
Also, while I’m able to connect the calendar on my phone, it fails on OSX. I’m assuming, has to do with this “.well-known” issue.
There have been quite some questions around this topic in this forum, however, most are about configuring Apache, I’m using Traefik. The configuration is:
- "traefik.http.middlewares.nextcloud-redirectregex.redirectregex.regex=/.well-known/(card|cal)dav" - "traefik.http.middlewares.nextcloud-redirectregex.redirectregex.replacement=/remote.php/dav/" - "traefik.http.middlewares.nextcloud-redirectregex.redirectregex.permanent=true" - traefik.http.services.nextcloud.loadbalancer.server.port=80
Do I have to set any headers, maybe?