aboutsummaryrefslogtreecommitdiff
path: root/weed/command/server.go
diff options
context:
space:
mode:
authorWeihao Jiang <weihau.chiang@gmail.com>2025-03-18 14:01:26 +0800
committerGitHub <noreply@github.com>2025-03-17 23:01:26 -0700
commit75ef3245334f12e0b3b420ba29aeea091b7d9afa (patch)
tree701e218df2762f489c9e2e275534f3177eba6c00 /weed/command/server.go
parent5ab04e1bafc24b6f895d63ff9a2db426f3d7ef27 (diff)
downloadseaweedfs-75ef3245334f12e0b3b420ba29aeea091b7d9afa.tar.xz
seaweedfs-75ef3245334f12e0b3b420ba29aeea091b7d9afa.zip
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
Diffstat (limited to 'weed/command/server.go')
-rw-r--r--weed/command/server.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/command/server.go b/weed/command/server.go
index 13d06a56b..e5265ecdc 100644
--- a/weed/command/server.go
+++ b/weed/command/server.go
@@ -221,6 +221,7 @@ func runServer(cmd *Command, args []string) bool {
s3Options.bindIp = serverBindIp
iamOptions.ip = serverBindIp
iamOptions.masters = masterOptions.peers
+ webdavOptions.ipBind = serverBindIp
serverOptions.v.ip = serverIp
serverOptions.v.bindIp = serverBindIp
serverOptions.v.masters = pb.ServerAddresses(*masterOptions.peers).ToAddresses()