aboutsummaryrefslogtreecommitdiff
path: root/conf/clog.conf
diff options
context:
space:
mode:
authorMichael McVady <femtonaut@gmail.com>2022-05-25 17:22:08 -0500
committerMichael McVady <femtonaut@gmail.com>2022-05-25 17:22:08 -0500
commit197c6663712ce20d693c693d54cafdbded8c2f3e (patch)
tree8bef1f19ce63c40163a9a6b9acef6a7d002fbb2c /conf/clog.conf
parent9e22f355a9e811fba2503133591099a35f9b1fe3 (diff)
Add catch-all HTTP redirect
Diffstat (limited to 'conf/clog.conf')
-rw-r--r--conf/clog.conf7
1 files changed, 5 insertions, 2 deletions
diff --git a/conf/clog.conf b/conf/clog.conf
index d32865b..953af9f 100644
--- a/conf/clog.conf
+++ b/conf/clog.conf
@@ -5,8 +5,6 @@ server notls {
tls no
}
-# load ./clog.so init
-
workers 4
privsep worker {
@@ -33,4 +31,9 @@ domain * {
route ^/posts/[a-z0-9\-]+$ {
handler post
}
+
+ route ^/.*$ {
+ handler redirect
+ }
+
}