| 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 |  | 
| Julien Danjou | 382f982 | 2015-09-21 14:19:52 +0000 | [diff] [blame] | 5 | <Directory %KEYSTONE_BIN%> | 
| Morgan Fainberg | da1cc57 | 2016-02-02 09:09:28 -0800 | [diff] [blame] | 6 | Require all granted | 
| Julien Danjou | 382f982 | 2015-09-21 14:19:52 +0000 | [diff] [blame] | 7 | </Directory> | 
|  | 8 |  | 
| Jamie Lennox | a00e5f8 | 2013-09-17 12:47:03 +1000 | [diff] [blame] | 9 | <VirtualHost *:%PUBLICPORT%> | 
| Dean Troyer | f8ae647 | 2015-02-17 11:05:06 -0600 | [diff] [blame] | 10 | 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] | 11 | WSGIProcessGroup keystone-public | 
| Brant Knudson | 2ad1a42 | 2015-06-23 10:53:50 -0500 | [diff] [blame] | 12 | WSGIScriptAlias / %KEYSTONE_BIN%/keystone-wsgi-public | 
| Jamie Lennox | a00e5f8 | 2013-09-17 12:47:03 +1000 | [diff] [blame] | 13 | WSGIApplicationGroup %{GLOBAL} | 
| Steve Martinelli | dc31f76 | 2014-12-13 23:34:15 -0500 | [diff] [blame] | 14 | WSGIPassAuthorization On | 
| Morgan Fainberg | da1cc57 | 2016-02-02 09:09:28 -0800 | [diff] [blame] | 15 | ErrorLogFormat "%M" | 
| Brant Knudson | cfc9465 | 2014-08-21 18:25:29 -0500 | [diff] [blame] | 16 | ErrorLog /var/log/%APACHE_NAME%/keystone.log | 
| Morgan Fainberg | a80cb81 | 2015-03-12 17:55:51 -0700 | [diff] [blame] | 17 | CustomLog /var/log/%APACHE_NAME%/keystone_access.log keystone_combined | 
| Rob Crittenden | 18d4778 | 2014-03-19 17:47:42 -0400 | [diff] [blame] | 18 | %SSLENGINE% | 
|  | 19 | %SSLCERTFILE% | 
|  | 20 | %SSLKEYFILE% | 
| Jamie Lennox | a00e5f8 | 2013-09-17 12:47:03 +1000 | [diff] [blame] | 21 | </VirtualHost> | 
|  | 22 |  | 
|  | 23 | <VirtualHost *:%ADMINPORT%> | 
| Dean Troyer | f8ae647 | 2015-02-17 11:05:06 -0600 | [diff] [blame] | 24 | 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] | 25 | WSGIProcessGroup keystone-admin | 
| Brant Knudson | 2ad1a42 | 2015-06-23 10:53:50 -0500 | [diff] [blame] | 26 | WSGIScriptAlias / %KEYSTONE_BIN%/keystone-wsgi-admin | 
| Jamie Lennox | a00e5f8 | 2013-09-17 12:47:03 +1000 | [diff] [blame] | 27 | WSGIApplicationGroup %{GLOBAL} | 
| Steve Martinelli | b57f636 | 2014-12-15 20:55:54 -0500 | [diff] [blame] | 28 | WSGIPassAuthorization On | 
| Morgan Fainberg | da1cc57 | 2016-02-02 09:09:28 -0800 | [diff] [blame] | 29 | ErrorLogFormat "%M" | 
| 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> | 
| Brant Knudson | 3bae7d4 | 2015-06-21 09:56:17 -0500 | [diff] [blame] | 36 |  | 
| Julien Danjou | 382f982 | 2015-09-21 14:19:52 +0000 | [diff] [blame] | 37 | Alias /identity %KEYSTONE_BIN%/keystone-wsgi-public | 
| Brant Knudson | 3bae7d4 | 2015-06-21 09:56:17 -0500 | [diff] [blame] | 38 | <Location /identity> | 
|  | 39 | SetHandler wsgi-script | 
|  | 40 | Options +ExecCGI | 
|  | 41 |  | 
|  | 42 | WSGIProcessGroup keystone-public | 
|  | 43 | WSGIApplicationGroup %{GLOBAL} | 
|  | 44 | WSGIPassAuthorization On | 
|  | 45 | </Location> | 
|  | 46 |  | 
| Brant Knudson | 841fdaf | 2015-06-21 10:08:22 -0500 | [diff] [blame] | 47 | Alias /identity_v2_admin %KEYSTONE_BIN%/keystone-wsgi-admin | 
|  | 48 | <Location /identity_v2_admin> | 
| Brant Knudson | 3bae7d4 | 2015-06-21 09:56:17 -0500 | [diff] [blame] | 49 | SetHandler wsgi-script | 
|  | 50 | Options +ExecCGI | 
|  | 51 |  | 
|  | 52 | WSGIProcessGroup keystone-admin | 
|  | 53 | WSGIApplicationGroup %{GLOBAL} | 
|  | 54 | WSGIPassAuthorization On | 
|  | 55 | </Location> |