blob: 88492d34083911775f63e6e94b74acb3ee419f45 [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
Rob Crittenden18d47782014-03-19 17:47:42 -040014 %SSLENGINE%
15 %SSLCERTFILE%
16 %SSLKEYFILE%
Jamie Lennoxa00e5f82013-09-17 12:47:03 +100017</VirtualHost>
18
19<VirtualHost *:%ADMINPORT%>
Felipe Reyes2c95fcd2014-08-14 17:41:55 +020020 WSGIDaemonProcess keystone-admin processes=5 threads=1 user=%USER% display-name=%{GROUP}
Jamie Lennoxa00e5f82013-09-17 12:47:03 +100021 WSGIProcessGroup keystone-admin
22 WSGIScriptAlias / %ADMINWSGI%
23 WSGIApplicationGroup %{GLOBAL}
Noboru Iwamatsub4495eb2014-07-02 18:31:31 +090024 <IfVersion >= 2.4>
25 ErrorLogFormat "%{cu}t %M"
26 </IfVersion>
Brant Knudsoncfc94652014-08-21 18:25:29 -050027 ErrorLog /var/log/%APACHE_NAME%/keystone.log
Brant Knudson2a6ce712014-08-21 18:23:12 -050028 CustomLog /var/log/%APACHE_NAME%/keystone_access.log combined
Rob Crittenden18d47782014-03-19 17:47:42 -040029 %SSLENGINE%
30 %SSLCERTFILE%
31 %SSLKEYFILE%
Jamie Lennoxa00e5f82013-09-17 12:47:03 +100032</VirtualHost>
Ian Wienanddcdcb5a2014-07-17 19:54:50 +100033
34# Workaround for missing path on RHEL6, see
35# https://bugzilla.redhat.com/show_bug.cgi?id=1121019
36WSGISocketPrefix /var/run/%APACHE_NAME%