mirror of
https://github.com/goharbor/harbor.git
synced 2024-09-29 13:57:33 +02: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 %}
|
{% if internal_tls.enabled %}
|
||||||
addr: :5443
|
addr: :5443
|
||||||
tls:
|
tls:
|
||||||
|
certificate: /etc/harbor/tls/registry.crt
|
||||||
|
key: /etc/harbor/tls/registry.key
|
||||||
minimumtls: tls1.2
|
minimumtls: tls1.2
|
||||||
{% else %}
|
{% else %}
|
||||||
addr: :5000
|
addr: :5000
|
||||||
@ -31,12 +33,6 @@ http:
|
|||||||
secret: placeholder
|
secret: placeholder
|
||||||
debug:
|
debug:
|
||||||
addr: localhost:5001
|
addr: localhost:5001
|
||||||
{% if internal_tls.enabled %}
|
|
||||||
tls:
|
|
||||||
certificate: /etc/harbor/tls/registry.crt
|
|
||||||
key: /etc/harbor/tls/registry.key
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
auth:
|
auth:
|
||||||
htpasswd:
|
htpasswd:
|
||||||
realm: harbor-registry-basic-realm
|
realm: harbor-registry-basic-realm
|
||||||
|
Loading…
Reference in New Issue
Block a user