diff options
author | metamuffin <metamuffin@disroot.org> | 2025-03-14 13:31:41 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-03-14 13:31:41 +0100 |
commit | cdc2e8c14824a5d58154c5df42d1bc79495d69ea (patch) | |
tree | 542f8e75cd97af40bbbef49b971c3702df1761eb /readme.md | |
parent | 28cec8f77e8fc9247a6f067736b08ed27e9f4088 (diff) | |
download | gnix-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.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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`** |