Add initial meta-stx to support StarlingX build
[pti/rtp.git] / meta-stx / recipes-devtools / python / files / python-keystone / wsgi-keystone.conf
1 #
2 ## Copyright (C) 2019 Wind River Systems, Inc.
3 #
4 #  Licensed under the Apache License, Version 2.0 (the "License");
5 #  you may not use this file except in compliance with the License.
6 #  You may obtain a copy of the License at
7 #
8 #      http://www.apache.org/licenses/LICENSE-2.0
9 #
10 #  Unless required by applicable law or agreed to in writing, software
11 #  distributed under the License is distributed on an "AS IS" BASIS,
12 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 #  See the License for the specific language governing permissions and
14 #  limitations under the License.
15
16 Listen 5000
17 Listen 35357
18
19 <VirtualHost *:5000>
20     WSGIDaemonProcess keystone-public processes=5 threads=1 user=keystone group=keystone display-name=%{GROUP}
21     WSGIProcessGroup keystone-public
22     WSGIScriptAlias / /usr/bin/keystone-wsgi-public
23     WSGIApplicationGroup %{GLOBAL}
24     WSGIPassAuthorization On
25     ErrorLogFormat "%{cu}t %M"
26     ErrorLog /var/log/apache2/keystone.log
27     CustomLog /var/log/apache2/keystone_access.log combined
28
29     <Directory /usr/bin>
30         Require all granted
31     </Directory>
32 </VirtualHost>
33
34 <VirtualHost *:35357>
35     WSGIDaemonProcess keystone-admin processes=5 threads=1 user=keystone group=keystone display-name=%{GROUP}
36     WSGIProcessGroup keystone-admin
37     WSGIScriptAlias / /usr/bin/keystone-wsgi-admin
38     WSGIApplicationGroup %{GLOBAL}
39     WSGIPassAuthorization On
40     ErrorLogFormat "%{cu}t %M"
41     ErrorLog /var/log/apache2/keystone.log
42     CustomLog /var/log/apache2/keystone_access.log combined
43
44     <Directory /usr/bin>
45         Require all granted
46     </Directory>
47 </VirtualHost>
48
49 Alias /identity /usr/bin/keystone-wsgi-public
50 <Location /identity>
51     SetHandler wsgi-script
52     Options +ExecCGI
53
54     WSGIProcessGroup keystone-public
55     WSGIApplicationGroup %{GLOBAL}
56     WSGIPassAuthorization On
57 </Location>
58
59 Alias /identity_admin /usr/bin/keystone-wsgi-admin
60 <Location /identity_admin>
61     SetHandler wsgi-script
62     Options +ExecCGI
63
64     WSGIProcessGroup keystone-admin
65     WSGIApplicationGroup %{GLOBAL}
66     WSGIPassAuthorization On
67 </Location>