From a6bd4cba833bd576c20ca05badc3aa26ce7f0f91 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Tue, 31 Aug 2021 22:57:23 +0100 Subject: Support to pass env variables to CGIs Env variables are configured per virtual host. --- spacebeans.conf.example | 3 +++ 1 file changed, 3 insertions(+) (limited to 'spacebeans.conf.example') 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 // -- cgit v1.2.3