base url for webdav share
This commit is contained in:
parent
aafdb8daba
commit
2e09597dc9
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue