aboutsummaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-06-22 13:05:21 +0200
committermetamuffin <metamuffin@disroot.org>2024-06-22 13:05:21 +0200
commitb28c5418b0635bf2fc3b0d18922df4ebb7cccd57 (patch)
treedbb99cde2eee412b1744bcc39827d31ce4e9606c /readme.md
parent4da8fe84c07e3f9e83f9b769f1670f4d52466001 (diff)
downloadgnix-b28c5418b0635bf2fc3b0d18922df4ebb7cccd57.tar
gnix-b28c5418b0635bf2fc3b0d18922df4ebb7cccd57.tar.bz2
gnix-b28c5418b0635bf2fc3b0d18922df4ebb7cccd57.tar.zst
add redirect modulev2.1.0
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/readme.md b/readme.md
index cef479e..428fabd 100644
--- a/readme.md
+++ b/readme.md
@@ -174,6 +174,10 @@ themselves; in that case the request is passed on.
- `headers`: A map of all header name-value pairs. (object string:string)
- `inner`: The handler to add the headers to. (module)
+- **module `redirect`**
+ - Responds with a permanent redirect.
+ - Takes the location to redirect to. (string)
+
#### Credentials config format
Login credentials for `cookie_auth` and `http_basic_auth` are supplied as either