aboutsummaryrefslogtreecommitdiff
path: root/weed/command/s3.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-07-28 08:47:24 -0700
committerChris Lu <chris.lu@gmail.com>2020-07-28 08:47:27 -0700
commita566bfc6e1b25c262c3eb20cd9a8a2ef7a5f5392 (patch)
tree072eaf5032406c75fee19b44e1953bc8655349de /weed/command/s3.go
parentbfa07af326a7ae2a015a7dd1235b1c6b10966d2c (diff)
downloadseaweedfs-a566bfc6e1b25c262c3eb20cd9a8a2ef7a5f5392.tar.xz
seaweedfs-a566bfc6e1b25c262c3eb20cd9a8a2ef7a5f5392.zip
s3: use bucket in the domain
fix https://github.com/chrislusf/seaweedfs/issues/1405
Diffstat (limited to 'weed/command/s3.go')
-rw-r--r--weed/command/s3.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/command/s3.go b/weed/command/s3.go
index 7ebd4fab0..92f13673c 100644
--- a/weed/command/s3.go
+++ b/weed/command/s3.go
@@ -151,6 +151,7 @@ func (s3opt *S3Options) startS3Server() bool {
_, s3ApiServer_err := s3api.NewS3ApiServer(router, &s3api.S3ApiServerOption{
Filer: *s3opt.filer,
+ Port: *s3opt.port,
FilerGrpcAddress: filerGrpcAddress,
Config: *s3opt.config,
DomainName: *s3opt.domainName,