Fix tls min version for registry

cert,key,mintls should in the same context

Signed-off-by: DQ <dengq@vmware.com>
This commit is contained in:
DQ 2020-04-19 16:16:19 +08:00
parent dbc1f17919
commit b728f04d0a

View File

@ -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