base url for webdav share

This commit is contained in:
William 2025-07-22 12:11:51 -03:00
parent aafdb8daba
commit 2e09597dc9

View file

@ -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;