Add a dependency on nginx from nova-objectsstore and install a

suitable configuration file.
This commit is contained in:
Soren Hansen
2010-07-06 13:34:08 +02:00
parent fc2f8e5473
commit ecd7cd7fdf
5 changed files with 27 additions and 1 deletions

7
debian/changelog vendored
View File

@@ -1,3 +1,10 @@
nova (0.3.0+really0.2.2-0ubuntu0ppa3) UNRELEASED; urgency=low
* Add a dependency on nginx from nova-objectsstore and install a
suitable configuration file.
-- Soren Hansen <soren@ubuntu.com> Tue, 06 Jul 2010 13:33:44 +0200
nova (0.3.0+really0.2.2-0ubuntu0ppa2) lucid; urgency=low
* Added --network_path setting to nova-compute's flagfile.

2
debian/control vendored
View File

@@ -91,7 +91,7 @@ Description: Nova Cloud Computing - API frontend
Package: nova-objectstore
Architecture: all
Depends: nova-common (= ${binary:Version}), ${python:Depends}, ${misc:Depends}
Depends: nova-common (= ${binary:Version}), nginx, ${python:Depends}, ${misc:Depends}
Description: Nova Cloud Computing - object store
Nova is a cloud computing fabric controller (the main part of an IaaS
system) built to match the popular AWS EC2 and S3 APIs. It is written in

View File

@@ -1,2 +1,3 @@
bin/nova-objectstore usr/bin
debian/nova-objectstore.conf etc
debian/nova-objectstore.nginx.conf etc/nginx/sites-available

1
debian/nova-objectstore.links vendored Normal file
View File

@@ -0,0 +1 @@
/etc/nginx/sites-available/nova-objectstore.nginx.conf /etc/nginx/sites-enabled/nova-objectstore.nginx.conf

17
debian/nova-objectstore.nginx.conf vendored Normal file
View File

@@ -0,0 +1,17 @@
server {
listen 3333 default;
server_name localhost;
client_max_body_size 10m;
access_log /var/log/nginx/localhost.access.log;
location ~ /_images/.+ {
root /var/lib/nova/images;
rewrite ^/_images/(.*)$ /$1 break;
}
location / {
proxy_pass http://localhost:3334/;
}
}