mastus: fake nextcloud api

This commit is contained in:
Gabriel Ebner 2021-07-14 14:10:24 +02:00
parent 199a195ef8
commit 4db98ae432

@ -38,6 +38,16 @@ in
locations."/" = { locations."/" = {
proxyPass = "http://127.0.0.1:${toString radicalePort}"; 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;
}
'';
}; };
}; };