mirror of
https://github.com/project-zot/zot.git
synced 2026-06-15 20:07:55 +08:00
tls: require mutual auth only when htpasswd not available
This commit is contained in:
@@ -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": {
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user