Skip to content

Commit

Permalink
change webdav port
Browse files Browse the repository at this point in the history
  • Loading branch information
wy580477 committed May 17, 2022
1 parent 6d2da88 commit 9fd8661
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion content/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ handle_path {$GLOBAL_PORTAL_PATH}/rclonerc/* {
handle {$GLOBAL_PORTAL_PATH}/rclonedav* {
redir {$GLOBAL_PORTAL_PATH}/rclonedav {$GLOBAL_PORTAL_PATH}/rclonedav/
uri strip_prefix {$GLOBAL_PORTAL_PATH}/rclonedav
reverse_proxy * localhost:61801
reverse_proxy * localhost:61805
}
# Configure Aria2 RPC
handle {$GLOBAL_PORTAL_PATH}/jsonrpc {
Expand Down
2 changes: 1 addition & 1 deletion content/service/rclone_webdav/run
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ htpasswd -csb /workdir/htpasswd_webdav ${GLOBAL_USER} ${GLOBAL_PASSWORD}
exec 2>&1
exec rclone serve webdav ${DRIVENAME}:/ \
--htpasswd=/workdir/htpasswd_webdav \
--addr=localhost:61801 \
--addr=localhost:61805 \
--buffer-size 4M \
--config /mnt/data/config/rclone.conf \
--use-mmap \
Expand Down

0 comments on commit 9fd8661

Please sign in to comment.