Fixed the nginx config.

Change-Id: I381b942b5e67eca5fb2f62eb5748e5e54f9e0428
This commit is contained in:
Monty Taylor 2011-07-31 10:26:19 -07:00
parent 82acbd34be
commit 4422664a01

View File

@ -1,11 +1,11 @@
server { server {
listen 80; listen 80;
server_name <%= name %>.openstack.org; server_name <%= name %>.openstack.org;
DocumentRoot /srv/docs/<%= name %>; root /srv/docs/<%= name %>;
Location ^~ /docs/ { location ^~ /docs/ {
alias /srv/docs/<%= name %>/trunk; alias /srv/docs/<%= name %>/trunk;
} }
Location ^~ /tarballs/ { location ^~ /tarballs/ {
alias /srv/tarballs/<%= name %>; alias /srv/tarballs/<%= name %>;
} }
} }