summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/caddyhttp/templates/templates.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/caddyhttp/templates/templates.go b/modules/caddyhttp/templates/templates.go
index 80efded..f7332a9 100644
--- a/modules/caddyhttp/templates/templates.go
+++ b/modules/caddyhttp/templates/templates.go
@@ -153,6 +153,10 @@ func init() {
// {{.Req.Header.Get "User-Agent"}}
// ```
//
+// ##### `.OriginalReq`
+//
+// Like .Req, except it accesses the original HTTP request before rewrites or other internal modifications.
+//
// ##### `.RespHeader.Add`
//
// Adds a header field to the HTTP response.