tls: require mutual auth only when htpasswd not available

This commit is contained in:
Ramkumar Chinchani
2019-07-20 17:30:58 -07:00
parent 066bf1b9eb
commit 36ca298507
17 changed files with 113 additions and 183 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
"port":"8080",
"realm":"zot",
"tls": {
"cert":"test/data/server.crt",
"cert":"test/data/server.cert",
"key":"test/data/server.key"
},
"auth": {
+1 -1
View File
@@ -8,7 +8,7 @@ http:
port: 8080
realm: zot
tls:
cert: test/data/server.crt
cert: test/data/server.cert
key: test/data/server.key
auth:
htpasswd: