summaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-03-14 13:31:41 +0100
committermetamuffin <metamuffin@disroot.org>2025-03-14 13:31:41 +0100
commitcdc2e8c14824a5d58154c5df42d1bc79495d69ea (patch)
tree542f8e75cd97af40bbbef49b971c3702df1761eb /readme.md
parent28cec8f77e8fc9247a6f067736b08ed27e9f4088 (diff)
downloadgnix-cdc2e8c14824a5d58154c5df42d1bc79495d69ea.tar
gnix-cdc2e8c14824a5d58154c5df42d1bc79495d69ea.tar.bz2
gnix-cdc2e8c14824a5d58154c5df42d1bc79495d69ea.tar.zst
hosts: :fallback and :none special hosts
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/readme.md b/readme.md
index 507ca34..03bdbc5 100644
--- a/readme.md
+++ b/readme.md
@@ -95,6 +95,8 @@ themselves; in that case the request is passed on.
- **module `hosts`**
- Hands over the requests to different modules depending on the `host` header.
+ Special keys are `:fallback` which handles hosts that are not found in the
+ map and `:none` to handle requests without a host header.
- Takes a map from hostname (string) to handler (module)
- **module `paths`**