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:
DQ 2019-11-07 17:08:06 +08:00
parent 7237067d63
commit cecc0fe85a

View File

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