From 657757a0ff3365f0888de0d14f7fc1d63049d0d9 Mon Sep 17 00:00:00 2001 From: Ghe Rivero Date: Fri, 23 Mar 2012 13:17:51 +0100 Subject: [PATCH] Initial nginx support Rewritten-From: e22eefaa0d37c92ead4b82343a4aecd3341981c2 --- trusty/debian/openstack-dashboard-nginx.conf | 6 ++++++ trusty/debian/openstack-dashboard-uwsgi.xml | 8 ++++++++ 2 files changed, 14 insertions(+) create mode 100644 trusty/debian/openstack-dashboard-nginx.conf create mode 100644 trusty/debian/openstack-dashboard-uwsgi.xml diff --git a/trusty/debian/openstack-dashboard-nginx.conf b/trusty/debian/openstack-dashboard-nginx.conf new file mode 100644 index 0000000..03534a9 --- /dev/null +++ b/trusty/debian/openstack-dashboard-nginx.conf @@ -0,0 +1,6 @@ +server { + location / { + include uwsgi_params; + uwsgi_pass unix:///var/run/horizon-wsgi.sock; + } +} \ No newline at end of file diff --git a/trusty/debian/openstack-dashboard-uwsgi.xml b/trusty/debian/openstack-dashboard-uwsgi.xml new file mode 100644 index 0000000..12c1f96 --- /dev/null +++ b/trusty/debian/openstack-dashboard-uwsgi.xml @@ -0,0 +1,8 @@ + + /var/run/horizon-uwsgi.sock + /var/run/horizon-uwsgi.pid + /=/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi + python27 + www-data + www-data + -- 2.45.2