From f6db45f0f7c904eff029c2301c439be902d17882 Mon Sep 17 00:00:00 2001 From: Francis Lavoie Date: Mon, 17 Oct 2022 13:19:56 -0400 Subject: [PATCH] Sort caddyfile placeholder shortcuts alphabetically for now --- src/docs/markdown/caddyfile/concepts.md | 38 ++++++++++++------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/src/docs/markdown/caddyfile/concepts.md b/src/docs/markdown/caddyfile/concepts.md index 235f1ed..08a4f51 100644 --- a/src/docs/markdown/caddyfile/concepts.md +++ b/src/docs/markdown/caddyfile/concepts.md @@ -236,39 +236,39 @@ You can use any [Caddy placeholders](/docs/conventions#placeholders) in the Cadd | Shorthand | Replaces | |-----------------|-----------------------------------| | `{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}` | -| `{file}` | `{http.request.uri.path.file}` | +| `{err.*}` | `{http.error.*}` | +| `{file_match.*}` | `{http.matchers.file.*}` | | `{file.base}` | `{http.request.uri.path.file.base}` | | `{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.*}` | -| `{query}` | `{http.request.uri.query}` | +| `{path}` | `{http.request.uri.path}` | +| `{port}` | `{http.request.port}` | | `{query.*}` | `{http.request.uri.query.*}` | -| `{remote}` | `{http.request.remote}` | +| `{query}` | `{http.request.uri.query}` | +| `{re.*.*}` | `{http.regexp.*.*}` | | `{remote_host}` | `{http.request.remote.host}` | | `{remote_port}` | `{http.request.remote.port}` | +| `{remote}` | `{http.request.remote}` | +| `{rp.*}` | `{http.reverse_proxy.*}` | | `{scheme}` | `{http.request.scheme}` | | `{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_issuer}` | `{http.request.tls.client.issuer}` | | `{tls_client_serial}` | `{http.request.tls.client.serial}` | | `{tls_client_subject}` | `{http.request.tls.client.subject}` | -| `{tls_client_certificate_pem}` | `{http.request.tls.client.certificate_pem}` | -| `{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.*}` | +| `{tls_version}` | `{http.request.tls.version}` | | `{upstream_hostport}` | `{http.reverse_proxy.upstream.hostport}` | -| `{vars.*}` | `{http.vars.*}` | +| `{uri}` | `{http.request.uri}` | +| `{vars.*}` | `{http.vars.*}` |