Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make search go to stable docs instead of the mostly-empty brochure site #33

Merged
merged 1 commit into from
Oct 12, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions templates/Caddyfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down