summaryrefslogtreecommitdiff
path: root/example/travels.conf
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2021-11-17 22:34:57 +0100
committerJoel Klinghed <the_jk@spawned.biz>2021-11-17 22:34:57 +0100
commit6232d13f5321b87ddf12a1aa36b4545da45f173d (patch)
tree23f3316470a14136debd9d02f9e920ca2b06f4cc /example/travels.conf
Travel3: Simple image and video display site
Reads the images and videos from filesystem and builds a site in memroy.
Diffstat (limited to 'example/travels.conf')
-rw-r--r--example/travels.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/example/travels.conf b/example/travels.conf
new file mode 100644
index 0000000..4d27525
--- /dev/null
+++ b/example/travels.conf
@@ -0,0 +1,15 @@
+bind = 127.0.0.1
+port = 5555
+
+client.timeout = 10s
+
+site.title = Resor
+site.root = media
+site.static_root = static
+
+geojson.database = timezones.geojson.json
+
+# nginx
+site.sendfile.header = X-Accel-Redirect
+site.sendfile.path = /media/
+site.sendfile.static_path = /static/