diff --git a/templates/keystone-httpd.conf.j2 b/templates/keystone-httpd.conf.j2 index 750e8c55..cc821700 100644 --- a/templates/keystone-httpd.conf.j2 +++ b/templates/keystone-httpd.conf.j2 @@ -1,5 +1,6 @@ # {{ ansible_managed }} +Listen {{ keystone_service_port }} {% if keystone_mod_wsgi_enabled | bool -%} WSGIDaemonProcess keystone-service user={{ keystone_system_user_name }} group={{ keystone_system_group_name }} processes={{ keystone_wsgi_processes }} threads={{ keystone_wsgi_threads }} display-name=%{GROUP} python-path={{ keystone_bin | dirname }}/lib/python2.7/site-packages @@ -69,6 +70,7 @@ {% endif %} +Listen {{ keystone_admin_port }} {% if keystone_mod_wsgi_enabled | bool -%} WSGIDaemonProcess keystone-admin user={{ keystone_system_user_name }} group={{ keystone_system_group_name }} processes={{ keystone_wsgi_processes }} threads={{ keystone_wsgi_threads }} display-name=%{GROUP} python-path={{ keystone_bin | dirname }}/lib/python2.7/site-packages diff --git a/templates/keystone-ports.conf.j2 b/templates/keystone-ports.conf.j2 index 35891dc1..3c32de37 100644 --- a/templates/keystone-ports.conf.j2 +++ b/templates/keystone-ports.conf.j2 @@ -1,4 +1,6 @@ # {{ ansible_managed }} -Listen {{ keystone_service_port }} -Listen {{ keystone_admin_port }} +# We place a blank file here +# Listen commands happen inside the individual VHost files +# This allows for multiple services VHosts to exist without +# overwriting Listen lines.