Allow standalone webdav server to bind specific address (#6403)

* Allow standalone webdav to bind specific address

* Rename bindIp to ipBind

* Bind embedded webdav IP to its parent
This commit is contained in:
Weihao Jiang
2025-03-18 14:01:26 +08:00
committed by GitHub
parent 5ab04e1baf
commit 75ef324533
3 changed files with 9 additions and 4 deletions

View File

@@ -209,6 +209,7 @@ func runFiler(cmd *Command, args []string) bool {
if *filerStartWebDav {
filerWebDavOptions.filer = &filerAddress
filerWebDavOptions.ipBind = f.bindIp
if *filerWebDavOptions.disk == "" {
filerWebDavOptions.disk = f.diskType