Jamie Lennox | a00e5f8 | 2013-09-17 12:47:03 +1000 | [diff] [blame] | 1 | Listen %PUBLICPORT% |
| 2 | Listen %ADMINPORT% |
| 3 | |
| 4 | <VirtualHost *:%PUBLICPORT%> |
Felipe Reyes | 2c95fcd | 2014-08-14 17:41:55 +0200 | [diff] [blame] | 5 | WSGIDaemonProcess keystone-public processes=5 threads=1 user=%USER% display-name=%{GROUP} |
Jamie Lennox | a00e5f8 | 2013-09-17 12:47:03 +1000 | [diff] [blame] | 6 | WSGIProcessGroup keystone-public |
| 7 | WSGIScriptAlias / %PUBLICWSGI% |
| 8 | WSGIApplicationGroup %{GLOBAL} |
Noboru Iwamatsu | b4495eb | 2014-07-02 18:31:31 +0900 | [diff] [blame] | 9 | <IfVersion >= 2.4> |
| 10 | ErrorLogFormat "%{cu}t %M" |
| 11 | </IfVersion> |
Brant Knudson | cfc9465 | 2014-08-21 18:25:29 -0500 | [diff] [blame] | 12 | ErrorLog /var/log/%APACHE_NAME%/keystone.log |
Brant Knudson | 2a6ce71 | 2014-08-21 18:23:12 -0500 | [diff] [blame] | 13 | CustomLog /var/log/%APACHE_NAME%/keystone_access.log combined |
Jamie Lennox | a00e5f8 | 2013-09-17 12:47:03 +1000 | [diff] [blame] | 14 | </VirtualHost> |
| 15 | |
| 16 | <VirtualHost *:%ADMINPORT%> |
Felipe Reyes | 2c95fcd | 2014-08-14 17:41:55 +0200 | [diff] [blame] | 17 | WSGIDaemonProcess keystone-admin processes=5 threads=1 user=%USER% display-name=%{GROUP} |
Jamie Lennox | a00e5f8 | 2013-09-17 12:47:03 +1000 | [diff] [blame] | 18 | WSGIProcessGroup keystone-admin |
| 19 | WSGIScriptAlias / %ADMINWSGI% |
| 20 | WSGIApplicationGroup %{GLOBAL} |
Noboru Iwamatsu | b4495eb | 2014-07-02 18:31:31 +0900 | [diff] [blame] | 21 | <IfVersion >= 2.4> |
| 22 | ErrorLogFormat "%{cu}t %M" |
| 23 | </IfVersion> |
Brant Knudson | cfc9465 | 2014-08-21 18:25:29 -0500 | [diff] [blame] | 24 | ErrorLog /var/log/%APACHE_NAME%/keystone.log |
Brant Knudson | 2a6ce71 | 2014-08-21 18:23:12 -0500 | [diff] [blame] | 25 | CustomLog /var/log/%APACHE_NAME%/keystone_access.log combined |
Jamie Lennox | a00e5f8 | 2013-09-17 12:47:03 +1000 | [diff] [blame] | 26 | </VirtualHost> |
Ian Wienand | dcdcb5a | 2014-07-17 19:54:50 +1000 | [diff] [blame] | 27 | |
| 28 | # Workaround for missing path on RHEL6, see |
| 29 | # https://bugzilla.redhat.com/show_bug.cgi?id=1121019 |
| 30 | WSGISocketPrefix /var/run/%APACHE_NAME% |