mirror of
https://github.com/caddyserver/website.git
synced 2025-04-24 14:06:17 -04:00
Improved placeholder docs
This commit is contained in:
parent
65f627e6bf
commit
1e1747b6cb
6 changed files with 78 additions and 62 deletions
|
@ -874,6 +874,12 @@ Match an output of the [`map` directive](/docs/caddyfile/directives/map) named `
|
|||
vars {magic_number} 3 5
|
||||
```
|
||||
|
||||
Match an arbitrary placeholder's value, i.e. the authenticated user's ID, either `Bob` or `Alice`:
|
||||
|
||||
```caddy-d
|
||||
vars {http.auth.user.id} Bob Alice
|
||||
```
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue