mirror of
https://github.com/caddyserver/website.git
synced 2025-06-22 22:20:32 -04:00
Sort caddyfile placeholder shortcuts alphabetically for now
This commit is contained in:
parent
3751cbdd42
commit
f6db45f0f7
1 changed files with 19 additions and 19 deletions
|
@ -236,38 +236,38 @@ You can use any [Caddy placeholders](/docs/conventions#placeholders) in the Cadd
|
||||||
| Shorthand | Replaces |
|
| Shorthand | Replaces |
|
||||||
|-----------------|-----------------------------------|
|
|-----------------|-----------------------------------|
|
||||||
| `{cookie.*}` | `{http.request.cookie.*}` |
|
| `{cookie.*}` | `{http.request.cookie.*}` |
|
||||||
| `{header.*}` | `{http.request.header.*}` |
|
|
||||||
| `{host}` | `{http.request.host}` |
|
|
||||||
| `{labels.*}` | `{http.request.host.labels.*}` |
|
|
||||||
| `{hostport}` | `{http.request.hostport}` |
|
|
||||||
| `{port}` | `{http.request.port}` |
|
|
||||||
| `{method}` | `{http.request.method}` |
|
|
||||||
| `{uri}` | `{http.request.uri}` |
|
|
||||||
| `{path}` | `{http.request.uri.path}` |
|
|
||||||
| `{dir}` | `{http.request.uri.path.dir}` |
|
| `{dir}` | `{http.request.uri.path.dir}` |
|
||||||
| `{file}` | `{http.request.uri.path.file}` |
|
| `{err.*}` | `{http.error.*}` |
|
||||||
|
| `{file_match.*}` | `{http.matchers.file.*}` |
|
||||||
| `{file.base}` | `{http.request.uri.path.file.base}` |
|
| `{file.base}` | `{http.request.uri.path.file.base}` |
|
||||||
| `{file.ext}` | `{http.request.uri.path.file.ext}` |
|
| `{file.ext}` | `{http.request.uri.path.file.ext}` |
|
||||||
|
| `{file}` | `{http.request.uri.path.file}` |
|
||||||
|
| `{header.*}` | `{http.request.header.*}` |
|
||||||
|
| `{host}` | `{http.request.host}` |
|
||||||
|
| `{hostport}` | `{http.request.hostport}` |
|
||||||
|
| `{labels.*}` | `{http.request.host.labels.*}` |
|
||||||
|
| `{method}` | `{http.request.method}` |
|
||||||
| `{path.*}` | `{http.request.uri.path.*}` |
|
| `{path.*}` | `{http.request.uri.path.*}` |
|
||||||
| `{query}` | `{http.request.uri.query}` |
|
| `{path}` | `{http.request.uri.path}` |
|
||||||
|
| `{port}` | `{http.request.port}` |
|
||||||
| `{query.*}` | `{http.request.uri.query.*}` |
|
| `{query.*}` | `{http.request.uri.query.*}` |
|
||||||
| `{remote}` | `{http.request.remote}` |
|
| `{query}` | `{http.request.uri.query}` |
|
||||||
|
| `{re.*.*}` | `{http.regexp.*.*}` |
|
||||||
| `{remote_host}` | `{http.request.remote.host}` |
|
| `{remote_host}` | `{http.request.remote.host}` |
|
||||||
| `{remote_port}` | `{http.request.remote.port}` |
|
| `{remote_port}` | `{http.request.remote.port}` |
|
||||||
|
| `{remote}` | `{http.request.remote}` |
|
||||||
|
| `{rp.*}` | `{http.reverse_proxy.*}` |
|
||||||
| `{scheme}` | `{http.request.scheme}` |
|
| `{scheme}` | `{http.request.scheme}` |
|
||||||
| `{tls_cipher}` | `{http.request.tls.cipher_suite}` |
|
| `{tls_cipher}` | `{http.request.tls.cipher_suite}` |
|
||||||
| `{tls_version}` | `{http.request.tls.version}` |
|
| `{tls_client_certificate_der_base64}` | `{http.request.tls.client.certificate_der_base64}` |
|
||||||
|
| `{tls_client_certificate_pem}` | `{http.request.tls.client.certificate_pem}` |
|
||||||
| `{tls_client_fingerprint}` | `{http.request.tls.client.fingerprint}` |
|
| `{tls_client_fingerprint}` | `{http.request.tls.client.fingerprint}` |
|
||||||
| `{tls_client_issuer}` | `{http.request.tls.client.issuer}` |
|
| `{tls_client_issuer}` | `{http.request.tls.client.issuer}` |
|
||||||
| `{tls_client_serial}` | `{http.request.tls.client.serial}` |
|
| `{tls_client_serial}` | `{http.request.tls.client.serial}` |
|
||||||
| `{tls_client_subject}` | `{http.request.tls.client.subject}` |
|
| `{tls_client_subject}` | `{http.request.tls.client.subject}` |
|
||||||
| `{tls_client_certificate_pem}` | `{http.request.tls.client.certificate_pem}` |
|
| `{tls_version}` | `{http.request.tls.version}` |
|
||||||
| `{tls_client_certificate_der_base64}` | `{http.request.tls.client.certificate_der_base64}` |
|
|
||||||
| `{err.*}` | `{http.error.*}` |
|
|
||||||
| `{file_match.*}` | `{http.matchers.file.*}` |
|
|
||||||
| `{re.*.*}` | `{http.regexp.*.*}` |
|
|
||||||
| `{rp.*}` | `{http.reverse_proxy.*}` |
|
|
||||||
| `{upstream_hostport}` | `{http.reverse_proxy.upstream.hostport}` |
|
| `{upstream_hostport}` | `{http.reverse_proxy.upstream.hostport}` |
|
||||||
|
| `{uri}` | `{http.request.uri}` |
|
||||||
| `{vars.*}` | `{http.vars.*}` |
|
| `{vars.*}` | `{http.vars.*}` |
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue