openstack-doc-tools/build_environment/files/nginx.default
Christian Berendt 051d7dbc69 A virtual building and testing environment using Vagrant
This patch provides all necessary files and configurations to
build a Vagrantbox that can be used as building and testing
environment for all OpenStack manuals and documentations. It
includes the repositories like openstack-manuals. Tox, Maven
and all needed dependencies by Maven are already
installed/fetched.

Change-Id: Ic7a496ee16efffc7ae41f657a07af998436ea12e
Closes-Bug: #1317849
2014-08-11 18:46:00 +02:00

23 lines
424 B
Plaintext

server {
listen 80 default_server;
listen [::]:80 default_server ipv6only=on;
root /home/vagrant/repositories;
index index.html index.htm;
server_name manuals.site;
location / {
autoindex on;
autoindex_exact_size on;
try_files $uri $uri/ =404;
}
location /openstack-manuals/doc {
index local-files.html;
autoindex on;
autoindex_exact_size on;
try_files $uri $uri/ =404;
}
}