summaryrefslogtreecommitdiff
path: root/example.conf
diff options
context:
space:
mode:
authortjpcc <tjp@ctrl-c.club>2023-10-31 11:11:53 -0600
committertjpcc <tjp@ctrl-c.club>2023-10-31 11:15:08 -0600
commit1a3ec70d3f0b7d62e570f3b85aa7e0e034a2cc7b (patch)
tree08e3f9dfc1260cb324625b6437b0254fee89e5bd /example.conf
parent9d102cb910fe9687b94235da04125329cd787054 (diff)
move 'auth' to a modifier
fixes #12
Diffstat (limited to 'example.conf')
-rw-r--r--example.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/example.conf b/example.conf
index 66b39fb..070805e 100644
--- a/example.conf
+++ b/example.conf
@@ -105,8 +105,8 @@ gemini 0.0.0.0:1965 {
static ~/public_gemini at /~ with dirdefault index.gmi, dirlist, exec, autoatom, titan private_gemini
cgi ~/public_gemini/cgi-bin at /~/cgi-bin
- # "static", "cgi", and "git" directives support an "auth <name>" clause which requires an authentication to pass.
- cgi ~/public_gemini/cgi-bin/private at /~/cgi-bin/private auth private_gemini
+ # "static", "cgi", and "git" directives support an "auth <name>" modifier which requires an authentication to pass.
+ cgi ~/public_gemini/cgi-bin/private at /~/cgi-bin/private with auth private_gemini
# The "templates" modifier can be used on "git" directives and provide a directory with template files in it.
# These can be used to customize the presentation of git repositories.