blob: b0cfb84ce09ccadbff06c53e12d721a33888cd26 [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}
Steve Martinellidc31f762014-12-13 23:34:15 -05009 WSGIPassAuthorization On
Noboru Iwamatsub4495eb2014-07-02 18:31:31 +090010 <IfVersion >= 2.4>
11 ErrorLogFormat "%{cu}t %M"
12 </IfVersion>
Brant Knudsoncfc94652014-08-21 18:25:29 -050013 ErrorLog /var/log/%APACHE_NAME%/keystone.log
Brant Knudson2a6ce712014-08-21 18:23:12 -050014 CustomLog /var/log/%APACHE_NAME%/keystone_access.log combined
Rob Crittenden18d47782014-03-19 17:47:42 -040015 %SSLENGINE%
16 %SSLCERTFILE%
17 %SSLKEYFILE%
Jamie Lennoxa00e5f82013-09-17 12:47:03 +100018</VirtualHost>
19
20<VirtualHost *:%ADMINPORT%>
Felipe Reyes2c95fcd2014-08-14 17:41:55 +020021 WSGIDaemonProcess keystone-admin processes=5 threads=1 user=%USER% display-name=%{GROUP}
Jamie Lennoxa00e5f82013-09-17 12:47:03 +100022 WSGIProcessGroup keystone-admin
23 WSGIScriptAlias / %ADMINWSGI%
24 WSGIApplicationGroup %{GLOBAL}
Noboru Iwamatsub4495eb2014-07-02 18:31:31 +090025 <IfVersion >= 2.4>
26 ErrorLogFormat "%{cu}t %M"
27 </IfVersion>
Brant Knudsoncfc94652014-08-21 18:25:29 -050028 ErrorLog /var/log/%APACHE_NAME%/keystone.log
Brant Knudson2a6ce712014-08-21 18:23:12 -050029 CustomLog /var/log/%APACHE_NAME%/keystone_access.log combined
Rob Crittenden18d47782014-03-19 17:47:42 -040030 %SSLENGINE%
31 %SSLCERTFILE%
32 %SSLKEYFILE%
Jamie Lennoxa00e5f82013-09-17 12:47:03 +100033</VirtualHost>
Ian Wienanddcdcb5a2014-07-17 19:54:50 +100034
35# Workaround for missing path on RHEL6, see
36# https://bugzilla.redhat.com/show_bug.cgi?id=1121019
37WSGISocketPrefix /var/run/%APACHE_NAME%