Skip to content

Commit 9e6ae82

Browse files
committed
Make search go to stable docs instead of the mostly-empty brochure site
1 parent f7f99c3 commit 9e6ae82

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

templates/Caddyfile.j2

+2
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ http://{{ caddy.addresses.main }}, http://{{ ansible_fqdn }} {
8080

8181
# redirect the objects.inv
8282
redir /objects.inv /stable/objects.inv permanent
83+
# Make search go to the actual docs instead of the mostly-empty brochure site.
84+
redir /search.html /stable/search.html?{query} temporary
8385

8486
# Place the brochure site at the top level.
8587
@brochure file {

0 commit comments

Comments
 (0)