mirror of
https://github.com/goharbor/harbor.git
synced 2025-02-18 04:41:26 +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 }}
|
hostname: {{ hostname }}
|
||||||
|
|
||||||
# http related config
|
# http related config
|
||||||
{% if http %}
|
{% if http is defined %}
|
||||||
http:
|
http:
|
||||||
# port for http, default is 80. If https enabled, this port will redirect to https port
|
# port for http, default is 80. If https enabled, this port will redirect to https port
|
||||||
port: {{ http.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 %}
|
{% endif %}
|
||||||
|
|
||||||
{% if https is defined %}
|
{% if https is defined %}
|
||||||
|
Loading…
Reference in New Issue
Block a user