]> review.fuel-infra Code Review - openstack-build/horizon-build.git/commitdiff
Initial nginx support
authorGhe Rivero <ghe@debian.org>
Fri, 23 Mar 2012 12:17:51 +0000 (13:17 +0100)
committerGhe Rivero <ghe@debian.org>
Fri, 23 Mar 2012 12:17:51 +0000 (13:17 +0100)
Rewritten-From: e22eefaa0d37c92ead4b82343a4aecd3341981c2

xenial/debian/openstack-dashboard-nginx.conf [new file with mode: 0644]
xenial/debian/openstack-dashboard-uwsgi.xml [new file with mode: 0644]

diff --git a/xenial/debian/openstack-dashboard-nginx.conf b/xenial/debian/openstack-dashboard-nginx.conf
new file mode 100644 (file)
index 0000000..03534a9
--- /dev/null
@@ -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 (file)
index 0000000..12c1f96
--- /dev/null
@@ -0,0 +1,8 @@
+<uwsgi>
+  <socket>/var/run/horizon-uwsgi.sock</socket>
+  <pidfile>/var/run/horizon-uwsgi.pid</pidfile>
+  <mount>/=/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi</mount>
+  <plugin>python27</plugin>
+  <uid>www-data</uid>
+  <gid>www-data</gid>
+</uwsgi>