docker-debian-repository/configs/nginx-default.conf
Nick Andrew 25bbb48dcf Move output dir to /repository/debian & expose it
We need the output data to be persistent and/or backed-up, and the
right way to do this is to expose it to other containers which use
the --volumes-from option.

The data volume is called /repository rather than /docker to avoid
possible conflict with /docker in other using containers.
2014-11-17 01:27:02 +11:00

17 lines
344 B
Plaintext

server {
listen 80 default_server;
listen [::]:80 default_server ipv6only=on;
root /repository/debian;
index index.html index.htm;
# Make site accessible from http://localhost/
server_name localhost;
autoindex on;
location / {
try_files $uri $uri/ =404;
}
}