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" \
|
--user "$USERNAME" \
|
||||||
--pass "$PASSWORD" \
|
--pass "$PASSWORD" \
|
||||||
--config="" \
|
--config="" \
|
||||||
|
--baseurl "/webdav" \
|
||||||
--verbose
|
--verbose
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
|
|
@ -103,7 +104,7 @@ in
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
"/webdav" = {
|
"/webdav" = {
|
||||||
proxyPass = "http://unix:/run/rclone-webdav/webdav.sock:/";
|
proxyPass = "http://unix:/run/rclone-webdav/webdav.sock:/webdav/";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
proxy_set_header X-Script-Name /webdav;
|
proxy_set_header X-Script-Name /webdav;
|
||||||
proxy_pass_header Authorization;
|
proxy_pass_header Authorization;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue