From 3ff621e76dccc5064b2d887c2d2fdf83c665ac47 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 --- xenial/debian/openstack-dashboard-nginx.conf | 6 ++++++ xenial/debian/openstack-dashboard-uwsgi.xml | 8 ++++++++ 2 files changed, 14 insertions(+) create mode 100644 xenial/debian/openstack-dashboard-nginx.conf create mode 100644 xenial/debian/openstack-dashboard-uwsgi.xml diff --git a/xenial/debian/openstack-dashboard-nginx.conf b/xenial/debian/openstack-dashboard-nginx.conf new file mode 100644 index 0000000..03534a9 --- /dev/null +++ b/xenial/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/xenial/debian/openstack-dashboard-uwsgi.xml b/xenial/debian/openstack-dashboard-uwsgi.xml new file mode 100644 index 0000000..12c1f96 --- /dev/null +++ b/xenial/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