webdav add replication setting

fix https://github.com/chrislusf/seaweedfs/issues/1817
This commit is contained in:
Chris Lu
2021-02-18 12:15:09 -08:00
parent 816ef0ed30
commit c2ad6f1047
4 changed files with 9 additions and 3 deletions

View File

@@ -121,6 +121,7 @@ func init() {
webdavOptions.port = cmdServer.Flag.Int("webdav.port", 7333, "webdav server http listen port")
webdavOptions.collection = cmdServer.Flag.String("webdav.collection", "", "collection to create the files")
webdavOptions.replication = cmdServer.Flag.String("webdav.replication", "", "replication to create the files")
webdavOptions.tlsPrivateKey = cmdServer.Flag.String("webdav.key.file", "", "path to the TLS private key file")
webdavOptions.tlsCertificate = cmdServer.Flag.String("webdav.cert.file", "", "path to the TLS certificate file")
webdavOptions.cacheDir = cmdServer.Flag.String("webdav.cacheDir", os.TempDir(), "local cache directory for file chunks")