mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-22 02:05:41 +01:00
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:
parent
dbc1f17919
commit
b728f04d0a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user