Use https if ingress is enabled

Change-Id: Id9824a9c7bb21c408925200592355edc6934f7f0
Closes-Bug: #1653075
This commit is contained in:
Proskurin Kirill 2016-12-29 14:02:43 +00:00
parent 4d5ce34116
commit 2cd78e32ff
1 changed files with 4 additions and 0 deletions

View File

@ -45,6 +45,10 @@ scheduler_default_filters = {{ nova.scheduler.enabled_filters | join(",") }}
# Though my_ip is not used directly, lots of other variables use $my_ip
my_ip = {{ network_topology["private"]["address"] }}
{% if ingress.enabled %}
secure_proxy_ssl_header = HTTP_X_FORWARDED_PROTO
{{ endif }}
{% if nova.console == 'novnc' %}
[vnc]
novncproxy_host = {{ network_topology["private"]["address"] }}