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