From 2e09597dc94cc9a0781435ea2e33a15eec0a02d1 Mon Sep 17 00:00:00 2001 From: William Date: Tue, 22 Jul 2025 12:11:51 -0300 Subject: [PATCH] base url for webdav share --- hosts/modules/alexandria/services.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/modules/alexandria/services.nix b/hosts/modules/alexandria/services.nix index e79b4a4..b238cfd 100644 --- a/hosts/modules/alexandria/services.nix +++ b/hosts/modules/alexandria/services.nix @@ -49,6 +49,7 @@ let --user "$USERNAME" \ --pass "$PASSWORD" \ --config="" \ + --baseurl "/webdav" \ --verbose ''; in @@ -103,7 +104,7 @@ in ''; }; "/webdav" = { - proxyPass = "http://unix:/run/rclone-webdav/webdav.sock:/"; + proxyPass = "http://unix:/run/rclone-webdav/webdav.sock:/webdav/"; extraConfig = '' proxy_set_header X-Script-Name /webdav; proxy_pass_header Authorization;