[cloud] fix warning related to /.well-known/carddav and /.well-known/caldav [regression introduced by !51]
The !51 (merged) introduced a regression as our NGINX configuration always perform the .well-known redirect with HTTP (even for HTTPS instance behind traefik which is the SSL endpoint).
I have not been able to modify the rewrite rules in nginx.conf
, so I propose this modification at traefik level directly. It handles both dev version in http
and prod version in https
.
If you have an idea about how it could be done in nginx.conf
that would be cleaner (I tried with a test on $http_x_forwarded_proto variable but without success).