Jamie Lennox | a00e5f8 | 2013-09-17 12:47:03 +1000 | [diff] [blame] | 1 | Listen %PUBLICPORT% |
| 2 | Listen %ADMINPORT% |
Morgan Fainberg | a80cb81 | 2015-03-12 17:55:51 -0700 | [diff] [blame] | 3 | LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\" %D(us)" keystone_combined |
Jamie Lennox | a00e5f8 | 2013-09-17 12:47:03 +1000 | [diff] [blame] | 4 | |
| 5 | <VirtualHost *:%PUBLICPORT%> |
Dean Troyer | f8ae647 | 2015-02-17 11:05:06 -0600 | [diff] [blame] | 6 | WSGIDaemonProcess keystone-public processes=5 threads=1 user=%USER% display-name=%{GROUP} %VIRTUALENV% |
Jamie Lennox | a00e5f8 | 2013-09-17 12:47:03 +1000 | [diff] [blame] | 7 | WSGIProcessGroup keystone-public |
| 8 | WSGIScriptAlias / %PUBLICWSGI% |
| 9 | WSGIApplicationGroup %{GLOBAL} |
Steve Martinelli | dc31f76 | 2014-12-13 23:34:15 -0500 | [diff] [blame] | 10 | WSGIPassAuthorization On |
Noboru Iwamatsu | b4495eb | 2014-07-02 18:31:31 +0900 | [diff] [blame] | 11 | <IfVersion >= 2.4> |
| 12 | ErrorLogFormat "%{cu}t %M" |
| 13 | </IfVersion> |
Brant Knudson | cfc9465 | 2014-08-21 18:25:29 -0500 | [diff] [blame] | 14 | ErrorLog /var/log/%APACHE_NAME%/keystone.log |
Morgan Fainberg | a80cb81 | 2015-03-12 17:55:51 -0700 | [diff] [blame] | 15 | CustomLog /var/log/%APACHE_NAME%/keystone_access.log keystone_combined |
Rob Crittenden | 18d4778 | 2014-03-19 17:47:42 -0400 | [diff] [blame] | 16 | %SSLENGINE% |
| 17 | %SSLCERTFILE% |
| 18 | %SSLKEYFILE% |
Jamie Lennox | a00e5f8 | 2013-09-17 12:47:03 +1000 | [diff] [blame] | 19 | </VirtualHost> |
| 20 | |
| 21 | <VirtualHost *:%ADMINPORT%> |
Dean Troyer | f8ae647 | 2015-02-17 11:05:06 -0600 | [diff] [blame] | 22 | WSGIDaemonProcess keystone-admin processes=5 threads=1 user=%USER% display-name=%{GROUP} %VIRTUALENV% |
Jamie Lennox | a00e5f8 | 2013-09-17 12:47:03 +1000 | [diff] [blame] | 23 | WSGIProcessGroup keystone-admin |
| 24 | WSGIScriptAlias / %ADMINWSGI% |
| 25 | WSGIApplicationGroup %{GLOBAL} |
Steve Martinelli | b57f636 | 2014-12-15 20:55:54 -0500 | [diff] [blame] | 26 | WSGIPassAuthorization On |
Noboru Iwamatsu | b4495eb | 2014-07-02 18:31:31 +0900 | [diff] [blame] | 27 | <IfVersion >= 2.4> |
| 28 | ErrorLogFormat "%{cu}t %M" |
| 29 | </IfVersion> |
Brant Knudson | cfc9465 | 2014-08-21 18:25:29 -0500 | [diff] [blame] | 30 | ErrorLog /var/log/%APACHE_NAME%/keystone.log |
Morgan Fainberg | a80cb81 | 2015-03-12 17:55:51 -0700 | [diff] [blame] | 31 | CustomLog /var/log/%APACHE_NAME%/keystone_access.log keystone_combined |
Rob Crittenden | 18d4778 | 2014-03-19 17:47:42 -0400 | [diff] [blame] | 32 | %SSLENGINE% |
| 33 | %SSLCERTFILE% |
| 34 | %SSLKEYFILE% |
Jamie Lennox | a00e5f8 | 2013-09-17 12:47:03 +1000 | [diff] [blame] | 35 | </VirtualHost> |