1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-16 00:04:40 +00:00

rcserver: set ModTime for dirs and files served by --rc-serve

This commit is contained in:
Nikita Shoshin
2023-09-25 22:03:38 +04:00
committed by Nick Craig-Wood
parent 08bf5228a7
commit 92368f6d2b
10 changed files with 66 additions and 8 deletions

View File

@@ -281,6 +281,7 @@ Flags to control the Remote Control API.
--rc-realm string Realm for authentication
--rc-salt string Password hashing salt (default "dlPL2MqE")
--rc-serve Enable the serving of remote objects
--rc-serve-no-modtime Don't read the modification time (can speed things up)
--rc-server-read-timeout Duration Timeout for server reading data (default 1h0m0s)
--rc-server-write-timeout Duration Timeout for server writing data (default 1h0m0s)
--rc-template string User-specified template

View File

@@ -77,6 +77,12 @@ remotes using this syntax http://127.0.0.1:5572/[remote:path]/path/to/object
Default Off.
### --rc-serve-no-modtime
Set this flag to skip reading the modification time (can speed things up).
Default Off.
### --rc-files /path/to/directory
Path to local files to serve on the HTTP server.