docker-debian-repository/configs/nginx-default.conf

17 lines
344 B
Plaintext
Raw Normal View History

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