summaryrefslogtreecommitdiffstats
path: root/compass/deploy/ansible/roles/dashboard/templates/openstack-dashboard.conf
diff options
context:
space:
mode:
Diffstat (limited to 'compass/deploy/ansible/roles/dashboard/templates/openstack-dashboard.conf')
-rw-r--r--compass/deploy/ansible/roles/dashboard/templates/openstack-dashboard.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/compass/deploy/ansible/roles/dashboard/templates/openstack-dashboard.conf b/compass/deploy/ansible/roles/dashboard/templates/openstack-dashboard.conf
new file mode 100644
index 000000000..a5a791a36
--- /dev/null
+++ b/compass/deploy/ansible/roles/dashboard/templates/openstack-dashboard.conf
@@ -0,0 +1,14 @@
+<VirtualHost *:80>
+
+WSGIScriptAlias / /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi
+WSGIDaemonProcess horizon user=www-data group=www-data processes=3 threads=10
+Alias /static /usr/share/openstack-dashboard/openstack_dashboard/static/
+
+<Directory /usr/share/openstack-dashboard/openstack_dashboard/wsgi>
+Order allow,deny
+Allow from all
+</Directory>
+
+
+</VirtualHost>
+