blob: 0a286b929ce2ebfd8076a043d37f414a268d5c06 [file] [log] [blame]
Jamie Lennoxa00e5f82013-09-17 12:47:03 +10001Listen %PUBLICPORT%
2Listen %ADMINPORT%
3
4<VirtualHost *:%PUBLICPORT%>
Felipe Reyes2c95fcd2014-08-14 17:41:55 +02005 WSGIDaemonProcess keystone-public processes=5 threads=1 user=%USER% display-name=%{GROUP}
Jamie Lennoxa00e5f82013-09-17 12:47:03 +10006 WSGIProcessGroup keystone-public
7 WSGIScriptAlias / %PUBLICWSGI%
8 WSGIApplicationGroup %{GLOBAL}
Noboru Iwamatsub4495eb2014-07-02 18:31:31 +09009 <IfVersion >= 2.4>
10 ErrorLogFormat "%{cu}t %M"
11 </IfVersion>
Brant Knudsoncfc94652014-08-21 18:25:29 -050012 ErrorLog /var/log/%APACHE_NAME%/keystone.log
Brant Knudson2a6ce712014-08-21 18:23:12 -050013 CustomLog /var/log/%APACHE_NAME%/keystone_access.log combined
Jamie Lennoxa00e5f82013-09-17 12:47:03 +100014</VirtualHost>
15
16<VirtualHost *:%ADMINPORT%>
Felipe Reyes2c95fcd2014-08-14 17:41:55 +020017 WSGIDaemonProcess keystone-admin processes=5 threads=1 user=%USER% display-name=%{GROUP}
Jamie Lennoxa00e5f82013-09-17 12:47:03 +100018 WSGIProcessGroup keystone-admin
19 WSGIScriptAlias / %ADMINWSGI%
20 WSGIApplicationGroup %{GLOBAL}
Noboru Iwamatsub4495eb2014-07-02 18:31:31 +090021 <IfVersion >= 2.4>
22 ErrorLogFormat "%{cu}t %M"
23 </IfVersion>
Brant Knudsoncfc94652014-08-21 18:25:29 -050024 ErrorLog /var/log/%APACHE_NAME%/keystone.log
Brant Knudson2a6ce712014-08-21 18:23:12 -050025 CustomLog /var/log/%APACHE_NAME%/keystone_access.log combined
Jamie Lennoxa00e5f82013-09-17 12:47:03 +100026</VirtualHost>
Ian Wienanddcdcb5a2014-07-17 19:54:50 +100027
28# Workaround for missing path on RHEL6, see
29# https://bugzilla.redhat.com/show_bug.cgi?id=1121019
30WSGISocketPrefix /var/run/%APACHE_NAME%