summaryrefslogtreecommitdiff
path: root/caddyconfig
diff options
context:
space:
mode:
authorGaurav Dhameeja <gdhameeja@gmail.com>2020-11-05 00:07:41 +0530
committerGitHub <noreply@github.com>2020-11-04 13:37:41 -0500
commit7c28ecb5f487e24a982a10cb5c5a77dc03c38db1 (patch)
tree7683e6fa14b04591b47a4d0625a78e8f950be6f0 /caddyconfig
parent9e28f60aab31c9ae674bd55ba3975bc6b1c2514c (diff)
httpcaddyfile: Add certificate_pem placeholder short, add to godoc (#3846)
Co-authored-by: Matt Holt <mholt@users.noreply.github.com> Co-authored-by: Francis Lavoie <lavofr@gmail.com>
Diffstat (limited to 'caddyconfig')
-rw-r--r--caddyconfig/httpcaddyfile/httptype.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/caddyconfig/httpcaddyfile/httptype.go b/caddyconfig/httpcaddyfile/httptype.go
index a19a6fe..35eab90 100644
--- a/caddyconfig/httpcaddyfile/httptype.go
+++ b/caddyconfig/httpcaddyfile/httptype.go
@@ -99,6 +99,7 @@ func (st ServerType) Setup(inputServerBlocks []caddyfile.ServerBlock,
"{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}",
)
// these are placeholders that allow a user-defined final