summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2020-11-01 10:34:41 -0500
committerDrew DeVault <sir@cmpwn.com>2020-11-01 10:34:41 -0500
commit953039e0b15df9c119b70eb18f36e580a4c4e7d4 (patch)
tree129b6472aad9289abd0bcd8004f3936601c48562 /doc
parent16e55c62623ef33db5e143126582d93c44ea950e (diff)
downloadgmnisrv-953039e0b15df9c119b70eb18f36e580a4c4e7d4.tar.gz
gmnisrv-953039e0b15df9c119b70eb18f36e580a4c4e7d4.tar.xz
gmnisrv-953039e0b15df9c119b70eb18f36e580a4c4e7d4.zip
gmnisrv.ini(5): clarify tokens in route config
Diffstat (limited to 'doc')
-rw-r--r--doc/gmnisrvini.scd8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/gmnisrvini.scd b/doc/gmnisrvini.scd
index 00fbce3..5b936e5 100644
--- a/doc/gmnisrvini.scd
+++ b/doc/gmnisrvini.scd
@@ -49,16 +49,16 @@ name of the configuration section is used to determine what kinds of requests it
configures.
The format of the section name is the _hostname_ to be serviced, followed by a
-token which defines the routing strategy, and a string whose format is specific
-to each routing strategy. The token and match string may be omitted
+token which defines the routing strategy, and a _string_ whose format is
+specific to each routing strategy. The token and match string may be omitted
(i.e. [_hostname_] alone), which implies path routing against "/".
|] *:*
:< Route by path prefix. The URL path is compared to "_string_/".
| *=*
-: Exact match. The URL path must exactly match the string.
+: Exact match. The URL path must exactly match the _string_.
| *~*
-: Regular expression routing. The string is a JavaScript-compatible regular
+: Regular expression routing. The _string_ is a JavaScript-compatible regular
expression which is tested against the URL path.
See ECMAScript 2018 (ECMA-282, 9th Edition), section 21.2 for a definition of