25bbb48dcf
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.
16 lines
344 B
Text
16 lines
344 B
Text
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;
|
|
}
|
|
|
|
}
|