From 1a3ec70d3f0b7d62e570f3b85aa7e0e034a2cc7b Mon Sep 17 00:00:00 2001 From: tjpcc Date: Tue, 31 Oct 2023 11:11:53 -0600 Subject: move 'auth' to a modifier fixes #12 --- README.gmi | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'README.gmi') diff --git a/README.gmi b/README.gmi index 2a2de46..18d9e63 100644 --- a/README.gmi +++ b/README.gmi @@ -312,6 +312,12 @@ The "autoatom" modifier customizes routing to recognize ". Allowed contexts: static, cgi directives (no git), gemini and spartan servers (no gopher or finger). +### auth + +The "auth" modifier takes the name of an auth (defined in a global "auth" directive) and sets it as a requirement to access the modified route. All the supported auth mechanisms are based on client TLS certificates, so they only work in servers with a "servertls" directive. + +Allowed contexts: static, cgi, git directives, gemini, gopher, and finger servers (no spartan, and gopher or finger only with "servertls"). + ### titan The "titan" modifier takes an auth name (defined in a global "auth" directive) and enables the titan file upload protocol in a static route. Titan requests specifically will have to pass the named auth mechanism. -- cgit v1.2.3