aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer.go
diff options
context:
space:
mode:
authorKonstantin Lebedev <9497591+kmlebedev@users.noreply.github.com>2023-06-14 11:58:49 +0500
committerGitHub <noreply@github.com>2023-06-13 23:58:49 -0700
commit4dd890d4a2e84b4bdb1335d3454a4e139563d228 (patch)
tree5d5a4414e632178f118cadcccffd7b0b05139ef9 /weed/command/filer.go
parent3fbf4f61893d17f4cc6f5381cad6518eb25dfb38 (diff)
downloadseaweedfs-4dd890d4a2e84b4bdb1335d3454a4e139563d228.tar.xz
seaweedfs-4dd890d4a2e84b4bdb1335d3454a4e139563d228.zip
optional https port for s3 (#4482)
Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
Diffstat (limited to 'weed/command/filer.go')
-rw-r--r--weed/command/filer.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/command/filer.go b/weed/command/filer.go
index 5bdf53455..b5a44eedf 100644
--- a/weed/command/filer.go
+++ b/weed/command/filer.go
@@ -95,6 +95,7 @@ func init() {
// start s3 on filer
filerStartS3 = cmdFiler.Flag.Bool("s3", false, "whether to start S3 gateway")
filerS3Options.port = cmdFiler.Flag.Int("s3.port", 8333, "s3 server http listen port")
+ filerS3Options.portHttps = cmdFiler.Flag.Int("s3.port.https", 0, "s3 server https listen port")
filerS3Options.portGrpc = cmdFiler.Flag.Int("s3.port.grpc", 0, "s3 server grpc listen port")
filerS3Options.domainName = cmdFiler.Flag.String("s3.domainName", "", "suffix of the host name in comma separated list, {bucket}.{domainName}")
filerS3Options.dataCenter = cmdFiler.Flag.String("s3.dataCenter", "", "prefer to read and write to volumes in this data center")