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%> |
| 6 | <IfVersion >= 2.4> |
| 7 | Require all granted |
| 8 | </IfVersion> |
| 9 | <IfVersion < 2.4> |
| 10 | Order allow,deny |
| 11 | Allow from all |
| 12 | </IfVersion> |
| 13 | </Directory> |
| 14 | |
Jamie Lennox | a00e5f8 | 2013-09-17 12:47:03 +1000 | [diff] [blame] | 15 | <VirtualHost *:%PUBLICPORT%> |
Dean Troyer | f8ae647 | 2015-02-17 11:05:06 -0600 | [diff] [blame] | 16 | 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] | 17 | WSGIProcessGroup keystone-public |
Brant Knudson | 2ad1a42 | 2015-06-23 10:53:50 -0500 | [diff] [blame] | 18 | WSGIScriptAlias / %KEYSTONE_BIN%/keystone-wsgi-public |
Jamie Lennox | a00e5f8 | 2013-09-17 12:47:03 +1000 | [diff] [blame] | 19 | WSGIApplicationGroup %{GLOBAL} |
Steve Martinelli | dc31f76 | 2014-12-13 23:34:15 -0500 | [diff] [blame] | 20 | WSGIPassAuthorization On |
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 |
Morgan Fainberg | a80cb81 | 2015-03-12 17:55:51 -0700 | [diff] [blame] | 25 | CustomLog /var/log/%APACHE_NAME%/keystone_access.log keystone_combined |
Rob Crittenden | 18d4778 | 2014-03-19 17:47:42 -0400 | [diff] [blame] | 26 | %SSLENGINE% |
| 27 | %SSLCERTFILE% |
| 28 | %SSLKEYFILE% |
Jamie Lennox | a00e5f8 | 2013-09-17 12:47:03 +1000 | [diff] [blame] | 29 | </VirtualHost> |
| 30 | |
| 31 | <VirtualHost *:%ADMINPORT%> |
Dean Troyer | f8ae647 | 2015-02-17 11:05:06 -0600 | [diff] [blame] | 32 | 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] | 33 | WSGIProcessGroup keystone-admin |
Brant Knudson | 2ad1a42 | 2015-06-23 10:53:50 -0500 | [diff] [blame] | 34 | WSGIScriptAlias / %KEYSTONE_BIN%/keystone-wsgi-admin |
Jamie Lennox | a00e5f8 | 2013-09-17 12:47:03 +1000 | [diff] [blame] | 35 | WSGIApplicationGroup %{GLOBAL} |
Steve Martinelli | b57f636 | 2014-12-15 20:55:54 -0500 | [diff] [blame] | 36 | WSGIPassAuthorization On |
Noboru Iwamatsu | b4495eb | 2014-07-02 18:31:31 +0900 | [diff] [blame] | 37 | <IfVersion >= 2.4> |
| 38 | ErrorLogFormat "%{cu}t %M" |
| 39 | </IfVersion> |
Brant Knudson | cfc9465 | 2014-08-21 18:25:29 -0500 | [diff] [blame] | 40 | ErrorLog /var/log/%APACHE_NAME%/keystone.log |
Morgan Fainberg | a80cb81 | 2015-03-12 17:55:51 -0700 | [diff] [blame] | 41 | CustomLog /var/log/%APACHE_NAME%/keystone_access.log keystone_combined |
Rob Crittenden | 18d4778 | 2014-03-19 17:47:42 -0400 | [diff] [blame] | 42 | %SSLENGINE% |
| 43 | %SSLCERTFILE% |
| 44 | %SSLKEYFILE% |
Jamie Lennox | a00e5f8 | 2013-09-17 12:47:03 +1000 | [diff] [blame] | 45 | </VirtualHost> |
Brant Knudson | 3bae7d4 | 2015-06-21 09:56:17 -0500 | [diff] [blame] | 46 | |
Julien Danjou | 382f982 | 2015-09-21 14:19:52 +0000 | [diff] [blame^] | 47 | Alias /identity %KEYSTONE_BIN%/keystone-wsgi-public |
Brant Knudson | 3bae7d4 | 2015-06-21 09:56:17 -0500 | [diff] [blame] | 48 | <Location /identity> |
| 49 | SetHandler wsgi-script |
| 50 | Options +ExecCGI |
| 51 | |
| 52 | WSGIProcessGroup keystone-public |
| 53 | WSGIApplicationGroup %{GLOBAL} |
| 54 | WSGIPassAuthorization On |
| 55 | </Location> |
| 56 | |
Julien Danjou | 382f982 | 2015-09-21 14:19:52 +0000 | [diff] [blame^] | 57 | Alias /identity_admin %KEYSTONE_BIN%/keystone-wsgi-admin |
Brant Knudson | 3bae7d4 | 2015-06-21 09:56:17 -0500 | [diff] [blame] | 58 | <Location /identity_admin> |
| 59 | SetHandler wsgi-script |
| 60 | Options +ExecCGI |
| 61 | |
| 62 | WSGIProcessGroup keystone-admin |
| 63 | WSGIApplicationGroup %{GLOBAL} |
| 64 | WSGIPassAuthorization On |
| 65 | </Location> |