summaryrefslogtreecommitdiffstats
path: root/katrin.d/data_local.variant
diff options
context:
space:
mode:
Diffstat (limited to 'katrin.d/data_local.variant')
-rw-r--r--katrin.d/data_local.variant10
1 files changed, 10 insertions, 0 deletions
diff --git a/katrin.d/data_local.variant b/katrin.d/data_local.variant
new file mode 100644
index 0000000..27c0ba4
--- /dev/null
+++ b/katrin.d/data_local.variant
@@ -0,0 +1,10 @@
+location /data {
+ root /mnt/pdv;
+
+ deny all;
+
+ sendfile on;
+
+ location ~ "/data/(astor/|thunderstorm.*|orca.*)?$" { include /etc/nginx/template.d/autoindex.template; }
+ location ~ "/data/astor/(fossils|wave)" { include /etc/nginx/template.d/autoindex.template; }
+}