diff --git a/mastus/radicale.nix b/mastus/radicale.nix index 4dc3d53..b680f63 100644 --- a/mastus/radicale.nix +++ b/mastus/radicale.nix @@ -38,6 +38,16 @@ in locations."/" = { proxyPass = "http://127.0.0.1:${toString radicalePort}"; }; + # Fake nextcloud api: + # https://gitlab.gnome.org/GNOME/gnome-online-accounts/-/issues/1#note_857357 + extraConfig = '' + rewrite ^/remote.php/carddav / redirect; + rewrite ^/remote.php/caldav / redirect; + + location /remote.php/webdav { + return 200; + } + ''; }; };