aboutsummaryrefslogtreecommitdiff
path: root/weed/command/scaffold.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-02-25 00:43:36 -0800
committerChris Lu <chris.lu@gmail.com>2019-02-25 00:43:36 -0800
commit7bbe24dd2857e345df84de76a844936f29a8fdc1 (patch)
tree58aedd69bd8fcd1e7921bd1051af7caef060bb23 /weed/command/scaffold.go
parentc892b898a1950b0faf8a8c6409a45b627b81685b (diff)
downloadseaweedfs-7bbe24dd2857e345df84de76a844936f29a8fdc1.tar.xz
seaweedfs-7bbe24dd2857e345df84de76a844936f29a8fdc1.zip
volume server directly support https
Diffstat (limited to 'weed/command/scaffold.go')
-rw-r--r--weed/command/scaffold.go13
1 files changed, 11 insertions, 2 deletions
diff --git a/weed/command/scaffold.go b/weed/command/scaffold.go
index cb0a726ce..9e45d7381 100644
--- a/weed/command/scaffold.go
+++ b/weed/command/scaffold.go
@@ -255,8 +255,6 @@ directory = "/" # destination directory
[jwt.signing]
key = ""
-# volume server also uses grpc that should be secured.
-
# all grpc tls authentications are mutual
# the values for the following ca, cert, and key are paths to the PERM files.
[grpc]
@@ -280,5 +278,16 @@ key = ""
cert = ""
key = ""
+
+# volume server https options
+# Note: work in progress!
+# this does not work with other clients, e.g., "weed filer|mount" etc, yet.
+[https.client]
+enabled = true
+[https.volume]
+cert = ""
+key = ""
+
+
`
)