From fc60ea8c4d52c5015edce1e4c6086d80e7a7d830 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Sun, 28 Feb 2021 08:15:55 +0000 Subject: Flags per directory, override vhost settings --- spacebeans.conf.example | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'spacebeans.conf.example') 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" -- cgit v1.2.3