From df6be44d67e29d73b0f226985c2c7b6ec989c224 Mon Sep 17 00:00:00 2001 From: Jakob Odersky Date: Sun, 3 Dec 2017 22:47:13 -0800 Subject: Initial commit --- roles/dl/files/dl.conf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 roles/dl/files/dl.conf (limited to 'roles/dl/files/dl.conf') diff --git a/roles/dl/files/dl.conf b/roles/dl/files/dl.conf new file mode 100644 index 0000000..43b96da --- /dev/null +++ b/roles/dl/files/dl.conf @@ -0,0 +1,17 @@ +server { + server_name dl.crashbox.io; + listen 80; + listen 443; + + root /srv/dl; + + location /debian/mini-dinstall { + deny all; + return 403; + } + + location / { + try_files $uri $uri/ =404; + autoindex on; + } +} -- cgit v1.2.3