Unhardcode nginx proxy backend portocol for openstack
This patch unhardcode backend protocol for nginx openstack services.
Change-Id: I79f86a0f71c0c3d686027df20ea40253f2426ac3
diff --git a/nginx/server/proxy/openstack/aodh.yml b/nginx/server/proxy/openstack/aodh.yml
index bd73165..d15bca5 100644
--- a/nginx/server/proxy/openstack/aodh.yml
+++ b/nginx/server/proxy/openstack/aodh.yml
@@ -3,6 +3,7 @@
nginx_proxy_openstack_api_host: ${_param:cluster_public_host}
nginx_proxy_openstack_api_address: 0.0.0.0
nginx_proxy_openstack_aodh_host: ${_param:aodh_service_host}
+ nginx_proxy_openstack_aodh_protocol: 'http'
nginx:
server:
enabled: true
@@ -15,7 +16,7 @@
proxy:
host: ${_param:nginx_proxy_openstack_aodh_host}
port: 8042
- protocol: http
+ protocol: ${_param:nginx_proxy_openstack_aodh_protocol}
host:
name: ${_param:nginx_proxy_openstack_api_host}
port: 8042