mastus: fake nextcloud api
This commit is contained in:
parent
199a195ef8
commit
4db98ae432
@ -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;
|
||||
}
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user