64d864afe8d84ec54b383052a6d89f190395a5fb
[compass4nfv.git] /
1  {% set work_threads = (ansible_processor_vcpus + 1) // 2 %}
2 <VirtualHost {{ internal_ip }}:5000>
3     WSGIDaemonProcess keystone-public processes={{ work_threads }} threads={{ work_threads }} user=keystone group=keystone display-name=%{GROUP}
4     WSGIProcessGroup keystone-public
5     WSGIScriptAlias / /usr/bin/keystone-wsgi-public
6     WSGIApplicationGroup %{GLOBAL}
7     WSGIPassAuthorization On
8     <IfVersion >= 2.4>
9       ErrorLogFormat "%{cu}t %M"
10     </IfVersion>
11     ErrorLog /var/log/{{ http_service_name }}/keystone.log
12     CustomLog /var/log/{{ http_service_name }}/keystone_access.log combined
13
14     <Directory /usr/bin>
15         <IfVersion >= 2.4>
16             Require all granted
17         </IfVersion>
18         <IfVersion < 2.4>
19             Order allow,deny
20             Allow from all
21         </IfVersion>
22     </Directory>
23 </VirtualHost>
24
25 <VirtualHost {{ internal_ip }}:35357>
26     WSGIDaemonProcess keystone-admin processes={{ work_threads }} threads={{ work_threads }} user=keystone group=keystone display-name=%{GROUP}
27     WSGIProcessGroup keystone-admin
28     WSGIScriptAlias / /usr/bin/keystone-wsgi-admin
29     WSGIApplicationGroup %{GLOBAL}
30     WSGIPassAuthorization On
31     <IfVersion >= 2.4>
32       ErrorLogFormat "%{cu}t %M"
33     </IfVersion>
34     ErrorLog /var/log/{{ http_service_name }}/keystone.log
35     CustomLog /var/log/{{ http_service_name }}/keystone_access.log combined
36
37     <Directory /usr/bin>
38         <IfVersion >= 2.4>
39             Require all granted
40         </IfVersion>
41         <IfVersion < 2.4>
42             Order allow,deny
43             Allow from all
44         </IfVersion>
45     </Directory>
46 </VirtualHost>