2013-09-17 12:47:03 +10:00
|
|
|
Listen %PUBLICPORT%
|
|
|
|
Listen %ADMINPORT%
|
2015-03-12 17:55:51 -07:00
|
|
|
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\" %D(us)" keystone_combined
|
2013-09-17 12:47:03 +10:00
|
|
|
|
2015-09-21 14:19:52 +00:00
|
|
|
<Directory %KEYSTONE_BIN%>
|
2016-02-02 09:09:28 -08:00
|
|
|
Require all granted
|
2015-09-21 14:19:52 +00:00
|
|
|
</Directory>
|
|
|
|
|
2013-09-17 12:47:03 +10:00
|
|
|
<VirtualHost *:%PUBLICPORT%>
|
2015-02-17 11:05:06 -06:00
|
|
|
WSGIDaemonProcess keystone-public processes=5 threads=1 user=%USER% display-name=%{GROUP} %VIRTUALENV%
|
2013-09-17 12:47:03 +10:00
|
|
|
WSGIProcessGroup keystone-public
|
2015-06-23 10:53:50 -05:00
|
|
|
WSGIScriptAlias / %KEYSTONE_BIN%/keystone-wsgi-public
|
2013-09-17 12:47:03 +10:00
|
|
|
WSGIApplicationGroup %{GLOBAL}
|
2014-12-13 23:34:15 -05:00
|
|
|
WSGIPassAuthorization On
|
2016-02-02 09:09:28 -08:00
|
|
|
ErrorLogFormat "%M"
|
2014-08-21 18:25:29 -05:00
|
|
|
ErrorLog /var/log/%APACHE_NAME%/keystone.log
|
2015-03-12 17:55:51 -07:00
|
|
|
CustomLog /var/log/%APACHE_NAME%/keystone_access.log keystone_combined
|
2014-03-19 17:47:42 -04:00
|
|
|
%SSLENGINE%
|
|
|
|
%SSLCERTFILE%
|
|
|
|
%SSLKEYFILE%
|
2013-09-17 12:47:03 +10:00
|
|
|
</VirtualHost>
|
|
|
|
|
|
|
|
<VirtualHost *:%ADMINPORT%>
|
2015-02-17 11:05:06 -06:00
|
|
|
WSGIDaemonProcess keystone-admin processes=5 threads=1 user=%USER% display-name=%{GROUP} %VIRTUALENV%
|
2013-09-17 12:47:03 +10:00
|
|
|
WSGIProcessGroup keystone-admin
|
2015-06-23 10:53:50 -05:00
|
|
|
WSGIScriptAlias / %KEYSTONE_BIN%/keystone-wsgi-admin
|
2013-09-17 12:47:03 +10:00
|
|
|
WSGIApplicationGroup %{GLOBAL}
|
2014-12-15 20:55:54 -05:00
|
|
|
WSGIPassAuthorization On
|
2016-02-02 09:09:28 -08:00
|
|
|
ErrorLogFormat "%M"
|
2014-08-21 18:25:29 -05:00
|
|
|
ErrorLog /var/log/%APACHE_NAME%/keystone.log
|
2015-03-12 17:55:51 -07:00
|
|
|
CustomLog /var/log/%APACHE_NAME%/keystone_access.log keystone_combined
|
2014-03-19 17:47:42 -04:00
|
|
|
%SSLENGINE%
|
|
|
|
%SSLCERTFILE%
|
|
|
|
%SSLKEYFILE%
|
2013-09-17 12:47:03 +10:00
|
|
|
</VirtualHost>
|
2015-06-21 09:56:17 -05:00
|
|
|
|
2015-09-21 14:19:52 +00:00
|
|
|
Alias /identity %KEYSTONE_BIN%/keystone-wsgi-public
|
2015-06-21 09:56:17 -05:00
|
|
|
<Location /identity>
|
|
|
|
SetHandler wsgi-script
|
|
|
|
Options +ExecCGI
|
|
|
|
|
|
|
|
WSGIProcessGroup keystone-public
|
|
|
|
WSGIApplicationGroup %{GLOBAL}
|
|
|
|
WSGIPassAuthorization On
|
|
|
|
</Location>
|
|
|
|
|
2016-07-27 08:05:05 +10:00
|
|
|
Alias /identity_admin %KEYSTONE_BIN%/keystone-wsgi-admin
|
|
|
|
<Location /identity_admin>
|
2015-06-21 09:56:17 -05:00
|
|
|
SetHandler wsgi-script
|
|
|
|
Options +ExecCGI
|
|
|
|
|
|
|
|
WSGIProcessGroup keystone-admin
|
|
|
|
WSGIApplicationGroup %{GLOBAL}
|
|
|
|
WSGIPassAuthorization On
|
|
|
|
</Location>
|