aboutsummaryrefslogtreecommitdiffstats
path: root/keystone-moon/debian/apache-conf/wsgi-keystone.conf
diff options
context:
space:
mode:
authorRuan HE <ruan.he@orange.com>2016-08-01 15:58:12 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-08-01 15:58:12 +0000
commitea6a3a5f04ff8f657bfd325dd37121a017a5560c (patch)
tree2b785977d515cf0f8adb8e4a3fcc013a5b5fe39b /keystone-moon/debian/apache-conf/wsgi-keystone.conf
parent72bc80411c9d9ca9040344c419902cee91277e96 (diff)
parent860e7fd7b81f956b54b25224efbd69ff9b1d1cc7 (diff)
Merge "Update script for debian package creation."
Diffstat (limited to 'keystone-moon/debian/apache-conf/wsgi-keystone.conf')
-rw-r--r--keystone-moon/debian/apache-conf/wsgi-keystone.conf32
1 files changed, 32 insertions, 0 deletions
diff --git a/keystone-moon/debian/apache-conf/wsgi-keystone.conf b/keystone-moon/debian/apache-conf/wsgi-keystone.conf
new file mode 100644
index 00000000..d437c31b
--- /dev/null
+++ b/keystone-moon/debian/apache-conf/wsgi-keystone.conf
@@ -0,0 +1,32 @@
+Listen 5000
+Listen 35357
+
+<VirtualHost *:5000>
+ WSGIDaemonProcess keystone-public processes=5 threads=1 user=keystone group=keystone display-name=%{GROUP}
+ WSGIProcessGroup keystone-public
+ WSGIScriptAlias / /usr/bin/keystone-wsgi-public
+ WSGIApplicationGroup %{GLOBAL}
+ WSGIPassAuthorization On
+ ErrorLogFormat "%{cu}t %M"
+ ErrorLog /var/log/apache2/keystone.log
+ CustomLog /var/log/apache2/keystone_access.log combined
+
+ <Directory /usr/bin>
+ Require all granted
+ </Directory>
+</VirtualHost>
+
+<VirtualHost *:35357>
+ WSGIDaemonProcess keystone-admin processes=5 threads=1 user=keystone group=keystone display-name=%{GROUP}
+ WSGIProcessGroup keystone-admin
+ WSGIScriptAlias / /usr/bin/keystone-wsgi-admin
+ WSGIApplicationGroup %{GLOBAL}
+ WSGIPassAuthorization On
+ ErrorLogFormat "%{cu}t %M"
+ ErrorLog /var/log/apache2/keystone.log
+ CustomLog /var/log/apache2/keystone_access.log combined
+
+ <Directory /usr/bin>
+ Require all granted
+ </Directory>
+</VirtualHost>