Fixed the nginx config.
Change-Id: I381b942b5e67eca5fb2f62eb5748e5e54f9e0428
This commit is contained in:
parent
82acbd34be
commit
4422664a01
@ -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 %>;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user