Commit b728f04d authored by DQ's avatar DQ
Browse files

Fix tls min version for registry



cert,key,mintls should in the same context
Signed-off-by: default avatarDQ <dengq@vmware.com>
parent dbc1f179
......@@ -24,6 +24,8 @@ http:
{% if internal_tls.enabled %}
addr: :5443
tls:
certificate: /etc/harbor/tls/registry.crt
key: /etc/harbor/tls/registry.key
minimumtls: tls1.2
{% else %}
addr: :5000
......@@ -31,12 +33,6 @@ http:
secret: placeholder
debug:
addr: localhost:5001
{% if internal_tls.enabled %}
tls:
certificate: /etc/harbor/tls/registry.crt
key: /etc/harbor/tls/registry.key
{% endif %}
auth:
htpasswd:
realm: harbor-registry-basic-realm
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment