summaryrefslogtreecommitdiff
path: root/spacebeans.conf.example
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2021-08-31 22:57:23 +0100
committerJuan J. Martinez <jjm@usebox.net>2021-08-31 23:04:09 +0100
commita6bd4cba833bd576c20ca05badc3aa26ce7f0f91 (patch)
treefe66763fbc353a8ab435b5dfdb4fedad12a42ce2 /spacebeans.conf.example
parentc09ffd688c1edd43c545aaf442a1cb582d5ad20d (diff)
downloadspacebeans-a6bd4cba833bd576c20ca05badc3aa26ce7f0f91.tar.gz
spacebeans-a6bd4cba833bd576c20ca05badc3aa26ce7f0f91.zip
Support to pass env variables to CGIs
Env variables are configured per virtual host.
Diffstat (limited to 'spacebeans.conf.example')
-rw-r--r--spacebeans.conf.example3
1 files changed, 3 insertions, 0 deletions
diff --git a/spacebeans.conf.example b/spacebeans.conf.example
index 9e92d45..8e24325 100644
--- a/spacebeans.conf.example
+++ b/spacebeans.conf.example
@@ -29,6 +29,9 @@ virtual-hosts = [
// optional parameters for text/gemini
// gemini-params = "charset=utf-8; lang=en"
+ // optional environment variables to pass to CGIs
+ // environment = { "VAR1": "VALUE1", "VAR2": "VALUE2" }
+
// override defaults, set properties per directory
// important: directory's path is relative to the root
//