mirror of
https://github.com/caddyserver/website.git
synced 2025-04-21 20:46:15 -04:00
docs: Minor improvements / fixes
This commit is contained in:
parent
6f712d4ee4
commit
54592ba4d5
4 changed files with 11 additions and 6 deletions
|
@ -28,10 +28,10 @@ uri [<matcher>] strip_prefix|strip_suffix|replace \
|
|||
|
||||
## 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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue