mirror of
https://github.com/caddyserver/website.git
synced 2025-04-30 00:39:14 -04:00
Begin transition to new docs layout
Still need to clean things up and get Quick Assist working again
This commit is contained in:
parent
531b39f78d
commit
5f4b630679
5 changed files with 200 additions and 21 deletions
|
@ -20,6 +20,13 @@ redir /docs/json /docs/json/
|
|||
redir /docs/modules /docs/modules/
|
||||
rewrite /docs/json/* /docs/json/index.html
|
||||
rewrite /docs/modules/* /docs/modules/index.html
|
||||
rewrite /docs/* /docs/index.html
|
||||
|
||||
# allow direct access to markdown but otherwise
|
||||
# rewrite to docs index page to render it
|
||||
@notDirectDocsMarkdown {
|
||||
path /docs/*
|
||||
not path *.md
|
||||
}
|
||||
rewrite @notDirectDocsMarkdown /docs/index.html
|
||||
|
||||
reverse_proxy /api/* localhost:4444
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue