aboutsummaryrefslogtreecommitdiffhomepage
path: root/caddyconfig/httpcaddyfile
diff options
context:
space:
mode:
authorFrancis Lavoie <[email protected]>2023-12-13 17:40:15 -0500
committerGitHub <[email protected]>2023-12-13 15:40:15 -0700
commit3d7d60f7cf8d1d721f9a577e71ca56f4ad80bc71 (patch)
tree0d49eb33a3a0ed9c199868b7b868e2dd62b09040 /caddyconfig/httpcaddyfile
parentdc12bd974367b1c15e6b8f3c6b446a208ac3546f (diff)
downloadcaddy-3d7d60f7cf8d1d721f9a577e71ca56f4ad80bc71.tar.gz
caddy-3d7d60f7cf8d1d721f9a577e71ca56f4ad80bc71.zip
caddyhttp: Add `uuid` to access logs when used (#5859)
Diffstat (limited to 'caddyconfig/httpcaddyfile')
-rw-r--r--caddyconfig/httpcaddyfile/shorthands.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/caddyconfig/httpcaddyfile/shorthands.go b/caddyconfig/httpcaddyfile/shorthands.go
index 102bc36d6..75795ae61 100644
--- a/caddyconfig/httpcaddyfile/shorthands.go
+++ b/caddyconfig/httpcaddyfile/shorthands.go
@@ -64,6 +64,7 @@ func placeholderShorthands() []string {
"{remote_port}", "{http.request.remote.port}",
"{scheme}", "{http.request.scheme}",
"{uri}", "{http.request.uri}",
+ "{uuid}", "{http.request.uuid}",
"{tls_cipher}", "{http.request.tls.cipher_suite}",
"{tls_version}", "{http.request.tls.version}",
"{tls_client_fingerprint}", "{http.request.tls.client.fingerprint}",