From 197c6663712ce20d693c693d54cafdbded8c2f3e Mon Sep 17 00:00:00 2001 From: Michael McVady Date: Wed, 25 May 2022 17:22:08 -0500 Subject: Add catch-all HTTP redirect --- conf/clog.conf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'conf/clog.conf') 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 + } + } -- cgit v1.2.3