mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-25 11:46:43 +01:00
Upgrade should not render http is config not provide
Just ingore if not congifured http Signed-off-by: DQ <dengq@vmware.com>
This commit is contained in:
parent
7237067d63
commit
cecc0fe85a
@ -5,10 +5,14 @@
|
||||
hostname: {{ hostname }}
|
||||
|
||||
# http related config
|
||||
{% if http %}
|
||||
{% if http is defined %}
|
||||
http:
|
||||
# port for http, default is 80. If https enabled, this port will redirect to https port
|
||||
port: {{ http.port }}
|
||||
{% else %}
|
||||
# http:
|
||||
# # port for http, default is 80. If https enabled, this port will redirect to https port
|
||||
# port: 80
|
||||
{% endif %}
|
||||
|
||||
{% if https is defined %}
|
||||
|
Loading…
Reference in New Issue
Block a user