From 9e6ae8283033c3a6cafa75f6d235c84eb2ae0cbf Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Sat, 8 Oct 2022 04:21:31 -0400 Subject: [PATCH] Make search go to stable docs instead of the mostly-empty brochure site --- templates/Caddyfile.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/Caddyfile.j2 b/templates/Caddyfile.j2 index ef2f5c8..f2929da 100644 --- a/templates/Caddyfile.j2 +++ b/templates/Caddyfile.j2 @@ -80,6 +80,8 @@ http://{{ caddy.addresses.main }}, http://{{ ansible_fqdn }} { # redirect the objects.inv redir /objects.inv /stable/objects.inv permanent + # Make search go to the actual docs instead of the mostly-empty brochure site. + redir /search.html /stable/search.html?{query} temporary # Place the brochure site at the top level. @brochure file {