keystone/httpd/wsgi-keystone.conf
Colleen Murphy dc825c9543 Remove admin interface in sample Apache file
We provide a sample Apache file for mod_wsgi that references the admin
port 35357. This is consumed by distributors such as RDO[1]. To bring
consumers of this example file in line with the other distributors,
this patch removes the vhost for the admin port from the example.

[1] https://review.rdoproject.org/r/gitweb?p=openstack/keystone-distgit.git;a=blob;f=openstack-keystone.spec;h=b59c2a7c1ca546d205dafe278e035da5ee829728;hb=refs/heads/queens-rdo#l209

Change-Id: I86b5a43beb18e730c2b18a36316d51751e6c1696
2018-03-24 12:56:02 +01:00

36 lines
991 B
Plaintext

Listen 5000
<VirtualHost *:5000>
WSGIDaemonProcess keystone-public processes=5 threads=1 user=keystone group=keystone display-name=%{GROUP}
WSGIProcessGroup keystone-public
WSGIScriptAlias / /usr/local/bin/keystone-wsgi-public
WSGIApplicationGroup %{GLOBAL}
WSGIPassAuthorization On
LimitRequestBody 114688
<IfVersion >= 2.4>
ErrorLogFormat "%{cu}t %M"
</IfVersion>
ErrorLog /var/log/apache2/keystone.log
CustomLog /var/log/apache2/keystone_access.log combined
<Directory /usr/local/bin>
<IfVersion >= 2.4>
Require all granted
</IfVersion>
<IfVersion < 2.4>
Order allow,deny
Allow from all
</IfVersion>
</Directory>
</VirtualHost>
Alias /identity /usr/local/bin/keystone-wsgi-public
<Location /identity>
SetHandler wsgi-script
Options +ExecCGI
WSGIProcessGroup keystone-public
WSGIApplicationGroup %{GLOBAL}
WSGIPassAuthorization On
</Location>