From 4422664a01ff2ed997581f51d2ad822589d27a2d Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Sun, 31 Jul 2011 10:26:19 -0700 Subject: [PATCH] Fixed the nginx config. Change-Id: I381b942b5e67eca5fb2f62eb5748e5e54f9e0428 --- modules/doc_server/templates/nginx.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/doc_server/templates/nginx.erb b/modules/doc_server/templates/nginx.erb index 53c50f2c4c..c3cc9d2d0e 100644 --- a/modules/doc_server/templates/nginx.erb +++ b/modules/doc_server/templates/nginx.erb @@ -1,11 +1,11 @@ server { listen 80; server_name <%= name %>.openstack.org; - DocumentRoot /srv/docs/<%= name %>; - Location ^~ /docs/ { + root /srv/docs/<%= name %>; + location ^~ /docs/ { alias /srv/docs/<%= name %>/trunk; } - Location ^~ /tarballs/ { + location ^~ /tarballs/ { alias /srv/tarballs/<%= name %>; } }