aboutsummaryrefslogtreecommitdiff
path: root/gmid.conf.5
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2023-08-01 17:07:46 +0000
committerOmar Polo <op@omarpolo.com>2023-08-01 17:07:46 +0000
commit547437cc401460998c764c1f309f12958b29402a (patch)
tree6cbe0f823f6d2eb5410864d9cfa7ac39d0f9e971 /gmid.conf.5
parent2c079c9e696e0545f8c35e2d3a0575f336cff6eb (diff)
fix the macro example
Diffstat (limited to 'gmid.conf.5')
-rw-r--r--gmid.conf.52
1 files changed, 2 insertions, 0 deletions
diff --git a/gmid.conf.5 b/gmid.conf.5
index 8369b5e..3901375 100644
--- a/gmid.conf.5
+++ b/gmid.conf.5
@@ -99,11 +99,13 @@ its expanded in-place.
.Pp
For example:
.Bd -literal -offset indent
+ext_ip = "10.0.0.1"
dir = "/var/gemini"
certdir = "/etc/keys"
common = "lang it; auto index on"
server "foo" {
+ listen on $ext_ip
root $dir "/foo" # "/var/gemini/foo"
cert $certdir "/foo.pem" # "/etc/keys/foo.pem"
key $certdir "/foo.key" # "/etc/keys/foo.key"