summaryrefslogtreecommitdiff
path: root/spacebeans.conf.example
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2021-02-28 08:15:55 +0000
committerJuan J. Martinez <jjm@usebox.net>2021-07-22 19:49:51 +0100
commitfc60ea8c4d52c5015edce1e4c6086d80e7a7d830 (patch)
tree3df752bef15d3a6e3367c8155a4904571e20479b /spacebeans.conf.example
parent71df19c2da98428f52242e274c1d11f1c4c1ecdf (diff)
downloadspacebeans-fc60ea8c4d52c5015edce1e4c6086d80e7a7d830.tar.gz
spacebeans-fc60ea8c4d52c5015edce1e4c6086d80e7a7d830.zip
Flags per directory, override vhost settings
Diffstat (limited to 'spacebeans.conf.example')
-rw-r--r--spacebeans.conf.example8
1 files changed, 8 insertions, 0 deletions
diff --git a/spacebeans.conf.example b/spacebeans.conf.example
index e2d586b..8bd5949 100644
--- a/spacebeans.conf.example
+++ b/spacebeans.conf.example
@@ -23,11 +23,19 @@ virtual-hosts = [
root = "/var/gemini/localhost/"
index-file = "index.gmi"
+ // default for the virtual host
directory-listing = true
// optional parameters for text/gemini
// gemini-params = "charset=utf-8; lang=en"
+ // override defaults, set properties per directory
+ // important: directory's path is relative to the root
+ //
+ // directories = [
+ // { path = "relative/path/", directory-listing = true }
+ // ]
+
// comment out to use an auto-generated self-signed certificate
key-store {
path = "/path/to/keystore.jks"