From: Ghe Rivero Date: Fri, 23 Mar 2012 12:17:51 +0000 (+0100) Subject: Initial nginx support X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=657757a0ff3365f0888de0d14f7fc1d63049d0d9;p=openstack-build%2Fhorizon-build.git Initial nginx support Rewritten-From: e22eefaa0d37c92ead4b82343a4aecd3341981c2 --- 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 +