docs: Minor improvements / fixes

This commit is contained in:
Matthew Holt 2020-03-22 16:14:17 -06:00
parent 6f712d4ee4
commit 54592ba4d5
No known key found for this signature in database
GPG key ID: 2A349DD577D586A5
4 changed files with 11 additions and 6 deletions

View file

@ -66,16 +66,17 @@ Because matcher tokens all work the same, the various possibilities for the matc
Many directives manipulate the HTTP handler chain. The order in which those directives are evaluated matters, so a default ordering is hard-coded into Caddy: Many directives manipulate the HTTP handler chain. The order in which those directives are evaluated matters, so a default ordering is hard-coded into Caddy:
``` ```
root header
redir redir
rewrite rewrite
root
uri uri
try_files try_files
basicauth basicauth
headers
request_header request_header
encode encode
templates templates

View file

@ -28,10 +28,10 @@ uri [<matcher>] strip_prefix|strip_suffix|replace \
## Examples ## Examples
Strip `api/` from the beginning of all request paths: Strip `/api` from the beginning of all request paths:
``` ```
uri strip_prefix api/ uri strip_prefix /api
``` ```
Strip `.php` from the end of all request paths: Strip `.php` from the end of all request paths:

View file

@ -748,6 +748,10 @@ td code {
color: #ccc; color: #ccc;
} }
.json .key a:not([href]) {
color: #bdd6f7
}
#hovercard, #hovercard,
.arrow-box { .arrow-box {
background-color: #0a192b; background-color: #0a192b;