summaryrefslogtreecommitdiffstats
path: root/katrin.d/data_local.variant
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-10-06 05:53:11 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-10-06 05:53:11 +0200
commitb794f84da1aaf446a3965f9b9363f997b3183872 (patch)
treed59f80c7587b8748b79cdeecfb112892e7ccf083 /katrin.d/data_local.variant
downloadiperouter-b794f84da1aaf446a3965f9b9363f997b3183872.tar.gz
iperouter-b794f84da1aaf446a3965f9b9363f997b3183872.tar.bz2
iperouter-b794f84da1aaf446a3965f9b9363f997b3183872.tar.xz
iperouter-b794f84da1aaf446a3965f9b9363f997b3183872.zip
Initial configuration
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; }
+}