Add a dependency on nginx from nova-objectsstore and install a
suitable configuration file.
This commit is contained in:
7
debian/changelog
vendored
7
debian/changelog
vendored
@@ -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
2
debian/control
vendored
@@ -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
|
||||
|
1
debian/nova-objectstore.install
vendored
1
debian/nova-objectstore.install
vendored
@@ -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
1
debian/nova-objectstore.links
vendored
Normal 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
17
debian/nova-objectstore.nginx.conf
vendored
Normal 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/;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user