Allow to configure ssl on keystone apache site
This patch allows to configure ssl settings on keystone apache
site by specifying apache_keystone_ssl parameter.
Also allow to override host:name by setting apache_keystone_api_host
Fully backward compatible change.
Change-Id: I8cde4c16b808370761965d291b17136b1e144a9b
Related-Prod: PROD-17057
diff --git a/keystone/server/wsgi.yml b/keystone/server/wsgi.yml
index f62c1cc..333cb76 100644
--- a/keystone/server/wsgi.yml
+++ b/keystone/server/wsgi.yml
@@ -1,6 +1,10 @@
classes:
- system.apache.server.single
parameters:
+ _param:
+ apache_keystone_ssl:
+ enabled: false
+ apache_keystone_api_host: ${linux:network:fqdn}
keystone:
server:
service_name: apache2
@@ -14,7 +18,8 @@
type: keystone
name: wsgi
host:
- name: ${linux:network:fqdn}
+ name: ${_param:apache_keystone_api_host}
+ ssl: ${_param:apache_keystone_ssl}
log:
custom:
format: >-