Override redirect host for openstack_web in a correct way

Change-Id: Icdb4188fe0a99efa412bf4733e6675a2165e1416
diff --git a/classes/cluster/os-aio-contrail/openstack/proxy.yml b/classes/cluster/os-aio-contrail/openstack/proxy.yml
index 1d61a39..55a33d9 100755
--- a/classes/cluster/os-aio-contrail/openstack/proxy.yml
+++ b/classes/cluster/os-aio-contrail/openstack/proxy.yml
@@ -19,5 +19,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/os-aio-ovs/openstack/proxy.yml b/classes/cluster/os-aio-ovs/openstack/proxy.yml
index cd409a4..5eb6ff6 100644
--- a/classes/cluster/os-aio-ovs/openstack/proxy.yml
+++ b/classes/cluster/os-aio-ovs/openstack/proxy.yml
@@ -18,5 +18,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/os-ha-contrail-40/openstack/proxy.yml b/classes/cluster/os-ha-contrail-40/openstack/proxy.yml
index aeb0bb7..94511c0 100644
--- a/classes/cluster/os-ha-contrail-40/openstack/proxy.yml
+++ b/classes/cluster/os-ha-contrail-40/openstack/proxy.yml
@@ -19,5 +19,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/os-ha-contrail-ironic/openstack/proxy.yml b/classes/cluster/os-ha-contrail-ironic/openstack/proxy.yml
index e402994..a41e3dd 100755
--- a/classes/cluster/os-ha-contrail-ironic/openstack/proxy.yml
+++ b/classes/cluster/os-ha-contrail-ironic/openstack/proxy.yml
@@ -19,5 +19,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/os-ha-contrail/openstack/proxy.yml b/classes/cluster/os-ha-contrail/openstack/proxy.yml
index 9521511..9a19647 100755
--- a/classes/cluster/os-ha-contrail/openstack/proxy.yml
+++ b/classes/cluster/os-ha-contrail/openstack/proxy.yml
@@ -21,5 +21,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/os-ha-ovs-ceph/openstack/proxy.yml b/classes/cluster/os-ha-ovs-ceph/openstack/proxy.yml
index 67badc5..d9cb8e5 100644
--- a/classes/cluster/os-ha-ovs-ceph/openstack/proxy.yml
+++ b/classes/cluster/os-ha-ovs-ceph/openstack/proxy.yml
@@ -18,5 +18,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/os-ha-ovs-pike/openstack/proxy.yml b/classes/cluster/os-ha-ovs-pike/openstack/proxy.yml
index 31b3ab6..19105c9 100644
--- a/classes/cluster/os-ha-ovs-pike/openstack/proxy.yml
+++ b/classes/cluster/os-ha-ovs-pike/openstack/proxy.yml
@@ -19,5 +19,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/os-ha-ovs-syndic/openstack/proxy.yml b/classes/cluster/os-ha-ovs-syndic/openstack/proxy.yml
index 09e5fe9..040c7b4 100644
--- a/classes/cluster/os-ha-ovs-syndic/openstack/proxy.yml
+++ b/classes/cluster/os-ha-ovs-syndic/openstack/proxy.yml
@@ -17,5 +17,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/os-ha-ovs/openstack/proxy.yml b/classes/cluster/os-ha-ovs/openstack/proxy.yml
index 6ffbf34..239aab9 100644
--- a/classes/cluster/os-ha-ovs/openstack/proxy.yml
+++ b/classes/cluster/os-ha-ovs/openstack/proxy.yml
@@ -19,5 +19,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/sl-os-contrail/openstack/proxy.yml b/classes/cluster/sl-os-contrail/openstack/proxy.yml
index a7d3fb5..e1f65bc 100755
--- a/classes/cluster/sl-os-contrail/openstack/proxy.yml
+++ b/classes/cluster/sl-os-contrail/openstack/proxy.yml
@@ -19,5 +19,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/sl-os-ovs/openstack/proxy.yml b/classes/cluster/sl-os-ovs/openstack/proxy.yml
index e4132a2..cb31ff4 100644
--- a/classes/cluster/sl-os-ovs/openstack/proxy.yml
+++ b/classes/cluster/sl-os-ovs/openstack/proxy.yml
@@ -17,5 +17,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/sl-pike-dvr/openstack/proxy.yml b/classes/cluster/sl-pike-dvr/openstack/proxy.yml
index 8b75dd7..a4df388 100644
--- a/classes/cluster/sl-pike-dvr/openstack/proxy.yml
+++ b/classes/cluster/sl-pike-dvr/openstack/proxy.yml
@@ -17,5 +17,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/virtual-mcp-mitaka-dvr-trusty/openstack/proxy.yml b/classes/cluster/virtual-mcp-mitaka-dvr-trusty/openstack/proxy.yml
index 50d564a..5175695 100644
--- a/classes/cluster/virtual-mcp-mitaka-dvr-trusty/openstack/proxy.yml
+++ b/classes/cluster/virtual-mcp-mitaka-dvr-trusty/openstack/proxy.yml
@@ -17,5 +17,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/virtual-mcp-mitaka-dvr/openstack/proxy.yml b/classes/cluster/virtual-mcp-mitaka-dvr/openstack/proxy.yml
index 4d32753..f7a1837 100644
--- a/classes/cluster/virtual-mcp-mitaka-dvr/openstack/proxy.yml
+++ b/classes/cluster/virtual-mcp-mitaka-dvr/openstack/proxy.yml
@@ -17,5 +17,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/virtual-mcp-mitaka-ovs-trusty/openstack/proxy.yml b/classes/cluster/virtual-mcp-mitaka-ovs-trusty/openstack/proxy.yml
index cfe273e..761df7c 100644
--- a/classes/cluster/virtual-mcp-mitaka-ovs-trusty/openstack/proxy.yml
+++ b/classes/cluster/virtual-mcp-mitaka-ovs-trusty/openstack/proxy.yml
@@ -17,5 +17,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/virtual-mcp-mitaka-ovs/openstack/proxy.yml b/classes/cluster/virtual-mcp-mitaka-ovs/openstack/proxy.yml
index 98cc9a0..1da7110 100644
--- a/classes/cluster/virtual-mcp-mitaka-ovs/openstack/proxy.yml
+++ b/classes/cluster/virtual-mcp-mitaka-ovs/openstack/proxy.yml
@@ -17,5 +17,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/virtual-mcp-newton-dvr/openstack/proxy.yml b/classes/cluster/virtual-mcp-newton-dvr/openstack/proxy.yml
index 170aea0..c0231f1 100644
--- a/classes/cluster/virtual-mcp-newton-dvr/openstack/proxy.yml
+++ b/classes/cluster/virtual-mcp-newton-dvr/openstack/proxy.yml
@@ -17,5 +17,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/virtual-mcp-newton-ovs/openstack/proxy.yml b/classes/cluster/virtual-mcp-newton-ovs/openstack/proxy.yml
index 834a475..a2856af 100644
--- a/classes/cluster/virtual-mcp-newton-ovs/openstack/proxy.yml
+++ b/classes/cluster/virtual-mcp-newton-ovs/openstack/proxy.yml
@@ -17,5 +17,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/virtual-mcp-ocata-dvr-ceph-local/openstack/proxy.yml b/classes/cluster/virtual-mcp-ocata-dvr-ceph-local/openstack/proxy.yml
index bcf9f77..c48dc64 100644
--- a/classes/cluster/virtual-mcp-ocata-dvr-ceph-local/openstack/proxy.yml
+++ b/classes/cluster/virtual-mcp-ocata-dvr-ceph-local/openstack/proxy.yml
@@ -17,5 +17,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/virtual-mcp-ocata-dvr/openstack/proxy.yml b/classes/cluster/virtual-mcp-ocata-dvr/openstack/proxy.yml
index 4f0cb81..d05fa91 100644
--- a/classes/cluster/virtual-mcp-ocata-dvr/openstack/proxy.yml
+++ b/classes/cluster/virtual-mcp-ocata-dvr/openstack/proxy.yml
@@ -17,5 +17,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/virtual-mcp-ocata-ovs-ceph-local/openstack/proxy.yml b/classes/cluster/virtual-mcp-ocata-ovs-ceph-local/openstack/proxy.yml
index 6d64763..01f1173 100644
--- a/classes/cluster/virtual-mcp-ocata-ovs-ceph-local/openstack/proxy.yml
+++ b/classes/cluster/virtual-mcp-ocata-ovs-ceph-local/openstack/proxy.yml
@@ -17,5 +17,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/virtual-mcp-ocata-ovs-ceph/openstack/proxy.yml b/classes/cluster/virtual-mcp-ocata-ovs-ceph/openstack/proxy.yml
index cd0e7a0..650954a 100644
--- a/classes/cluster/virtual-mcp-ocata-ovs-ceph/openstack/proxy.yml
+++ b/classes/cluster/virtual-mcp-ocata-ovs-ceph/openstack/proxy.yml
@@ -17,5 +17,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/virtual-mcp-ocata-ovs/openstack/proxy.yml b/classes/cluster/virtual-mcp-ocata-ovs/openstack/proxy.yml
index 9123a18..d4b898d 100644
--- a/classes/cluster/virtual-mcp-ocata-ovs/openstack/proxy.yml
+++ b/classes/cluster/virtual-mcp-ocata-ovs/openstack/proxy.yml
@@ -17,5 +17,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/virtual-mcp-pike-dvr-ceph-rgw/openstack/proxy.yml b/classes/cluster/virtual-mcp-pike-dvr-ceph-rgw/openstack/proxy.yml
index a178d05..c7ec64a 100644
--- a/classes/cluster/virtual-mcp-pike-dvr-ceph-rgw/openstack/proxy.yml
+++ b/classes/cluster/virtual-mcp-pike-dvr-ceph-rgw/openstack/proxy.yml
@@ -19,5 +19,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/virtual-mcp-pike-dvr-ssl-barbican/openstack/proxy.yml b/classes/cluster/virtual-mcp-pike-dvr-ssl-barbican/openstack/proxy.yml
index fe85d74..6c1a501 100644
--- a/classes/cluster/virtual-mcp-pike-dvr-ssl-barbican/openstack/proxy.yml
+++ b/classes/cluster/virtual-mcp-pike-dvr-ssl-barbican/openstack/proxy.yml
@@ -18,5 +18,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/virtual-mcp-pike-dvr-ssl/openstack/proxy.yml b/classes/cluster/virtual-mcp-pike-dvr-ssl/openstack/proxy.yml
index 1a50bb6..9344fee 100644
--- a/classes/cluster/virtual-mcp-pike-dvr-ssl/openstack/proxy.yml
+++ b/classes/cluster/virtual-mcp-pike-dvr-ssl/openstack/proxy.yml
@@ -18,5 +18,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/virtual-mcp-pike-dvr/openstack/proxy.yml b/classes/cluster/virtual-mcp-pike-dvr/openstack/proxy.yml
index dd30f35..f54fdd3 100644
--- a/classes/cluster/virtual-mcp-pike-dvr/openstack/proxy.yml
+++ b/classes/cluster/virtual-mcp-pike-dvr/openstack/proxy.yml
@@ -18,5 +18,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/virtual-mcp-pike-ovs-ceph/openstack/proxy.yml b/classes/cluster/virtual-mcp-pike-ovs-ceph/openstack/proxy.yml
index 01ee8f0..72c44ce 100644
--- a/classes/cluster/virtual-mcp-pike-ovs-ceph/openstack/proxy.yml
+++ b/classes/cluster/virtual-mcp-pike-ovs-ceph/openstack/proxy.yml
@@ -18,5 +18,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/virtual-mcp-pike-ovs/openstack/proxy.yml b/classes/cluster/virtual-mcp-pike-ovs/openstack/proxy.yml
index 2305418..ad65234 100644
--- a/classes/cluster/virtual-mcp-pike-ovs/openstack/proxy.yml
+++ b/classes/cluster/virtual-mcp-pike-ovs/openstack/proxy.yml
@@ -18,5 +18,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/virtual-mcp05-dvr/openstack/proxy.yml b/classes/cluster/virtual-mcp05-dvr/openstack/proxy.yml
index 391f22d..3ed3d21 100644
--- a/classes/cluster/virtual-mcp05-dvr/openstack/proxy.yml
+++ b/classes/cluster/virtual-mcp05-dvr/openstack/proxy.yml
@@ -17,5 +17,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/virtual-mcp05-ovs/openstack/proxy.yml b/classes/cluster/virtual-mcp05-ovs/openstack/proxy.yml
index 0369787..db3b8f1 100644
--- a/classes/cluster/virtual-mcp05-ovs/openstack/proxy.yml
+++ b/classes/cluster/virtual-mcp05-ovs/openstack/proxy.yml
@@ -17,5 +17,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/virtual-mcp10-contrail/openstack/proxy.yml b/classes/cluster/virtual-mcp10-contrail/openstack/proxy.yml
index 8b85a6c..9ee3b62 100755
--- a/classes/cluster/virtual-mcp10-contrail/openstack/proxy.yml
+++ b/classes/cluster/virtual-mcp10-contrail/openstack/proxy.yml
@@ -19,8 +19,9 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
   linux:
     system:
       package:
diff --git a/classes/cluster/virtual-mcp10-dvr/openstack/proxy.yml b/classes/cluster/virtual-mcp10-dvr/openstack/proxy.yml
index 2fbbbbd..671069c 100644
--- a/classes/cluster/virtual-mcp10-dvr/openstack/proxy.yml
+++ b/classes/cluster/virtual-mcp10-dvr/openstack/proxy.yml
@@ -17,8 +17,9 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
   linux:
     system:
       package:
diff --git a/classes/cluster/virtual-mcp10-ovs/openstack/proxy.yml b/classes/cluster/virtual-mcp10-ovs/openstack/proxy.yml
index 43741cd..4175ee8 100644
--- a/classes/cluster/virtual-mcp10-ovs/openstack/proxy.yml
+++ b/classes/cluster/virtual-mcp10-ovs/openstack/proxy.yml
@@ -17,8 +17,9 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
   linux:
     system:
       package:
diff --git a/classes/cluster/virtual-mcp11-contrail-nfv/openstack/proxy.yml b/classes/cluster/virtual-mcp11-contrail-nfv/openstack/proxy.yml
index 360979b..30b58c0 100755
--- a/classes/cluster/virtual-mcp11-contrail-nfv/openstack/proxy.yml
+++ b/classes/cluster/virtual-mcp11-contrail-nfv/openstack/proxy.yml
@@ -19,5 +19,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/virtual-mcp11-contrail/openstack/proxy.yml b/classes/cluster/virtual-mcp11-contrail/openstack/proxy.yml
index 0422b38..b8c57ee 100755
--- a/classes/cluster/virtual-mcp11-contrail/openstack/proxy.yml
+++ b/classes/cluster/virtual-mcp11-contrail/openstack/proxy.yml
@@ -19,5 +19,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/virtual-mcp11-dvr/openstack/proxy.yml b/classes/cluster/virtual-mcp11-dvr/openstack/proxy.yml
index 2ce252d..d9b0dc6 100644
--- a/classes/cluster/virtual-mcp11-dvr/openstack/proxy.yml
+++ b/classes/cluster/virtual-mcp11-dvr/openstack/proxy.yml
@@ -17,5 +17,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/virtual-mcp11-ovs-dpdk/openstack/proxy.yml b/classes/cluster/virtual-mcp11-ovs-dpdk/openstack/proxy.yml
index c12de32..7905965 100644
--- a/classes/cluster/virtual-mcp11-ovs-dpdk/openstack/proxy.yml
+++ b/classes/cluster/virtual-mcp11-ovs-dpdk/openstack/proxy.yml
@@ -17,5 +17,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/virtual-mcp11-ovs-ironic-ssl/openstack/proxy.yml b/classes/cluster/virtual-mcp11-ovs-ironic-ssl/openstack/proxy.yml
index 31f80f3..7c3b439 100644
--- a/classes/cluster/virtual-mcp11-ovs-ironic-ssl/openstack/proxy.yml
+++ b/classes/cluster/virtual-mcp11-ovs-ironic-ssl/openstack/proxy.yml
@@ -17,5 +17,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/virtual-mcp11-ovs-ironic/openstack/proxy.yml b/classes/cluster/virtual-mcp11-ovs-ironic/openstack/proxy.yml
index 4025d89..385757a 100644
--- a/classes/cluster/virtual-mcp11-ovs-ironic/openstack/proxy.yml
+++ b/classes/cluster/virtual-mcp11-ovs-ironic/openstack/proxy.yml
@@ -17,5 +17,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/virtual-mcp11-ovs/openstack/proxy.yml b/classes/cluster/virtual-mcp11-ovs/openstack/proxy.yml
index 77365d5..a832993 100644
--- a/classes/cluster/virtual-mcp11-ovs/openstack/proxy.yml
+++ b/classes/cluster/virtual-mcp11-ovs/openstack/proxy.yml
@@ -17,5 +17,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/virtual-offline-pike-ovs-dpdk/openstack/proxy.yml b/classes/cluster/virtual-offline-pike-ovs-dpdk/openstack/proxy.yml
index e1bf876..a760bea 100644
--- a/classes/cluster/virtual-offline-pike-ovs-dpdk/openstack/proxy.yml
+++ b/classes/cluster/virtual-offline-pike-ovs-dpdk/openstack/proxy.yml
@@ -18,5 +18,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/virtual-offline-pike-ovs/openstack/proxy.yml b/classes/cluster/virtual-offline-pike-ovs/openstack/proxy.yml
index aa34b49..b59f9ce 100644
--- a/classes/cluster/virtual-offline-pike-ovs/openstack/proxy.yml
+++ b/classes/cluster/virtual-offline-pike-ovs/openstack/proxy.yml
@@ -18,5 +18,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host
diff --git a/classes/cluster/virtual-offline-ssl/openstack/proxy.yml b/classes/cluster/virtual-offline-ssl/openstack/proxy.yml
index 59b941d..ffa74f3 100644
--- a/classes/cluster/virtual-offline-ssl/openstack/proxy.yml
+++ b/classes/cluster/virtual-offline-ssl/openstack/proxy.yml
@@ -18,5 +18,6 @@
     server:
       site:
         nginx_ssl_redirect_openstack_web:
-          host:
-            name: "$host"
+          redirect:
+            protocol: https
+            host: $host