diff options
author | Francis Lavoie <lavofr@gmail.com> | 2020-02-04 17:49:38 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-04 15:49:38 -0700 |
commit | ec56c257089f42ef88ec3a5ec818965c0fa5d57f (patch) | |
tree | 3678626cbfc9c1ad99e9c80140b26ed23a625da6 | |
parent | c0f827e0bdbd779be5430d76a4eee99fc2153baf (diff) |
caddyhttp: Fix orig_uri placeholder docs (#3002)
Fixes #3001
-rw-r--r-- | modules/caddyhttp/caddyhttp.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/caddyhttp/caddyhttp.go b/modules/caddyhttp/caddyhttp.go index 37f9670..fc727d0 100644 --- a/modules/caddyhttp/caddyhttp.go +++ b/modules/caddyhttp/caddyhttp.go @@ -59,12 +59,12 @@ func init() { // `{http.request.host}` | The host part of the request's Host header // `{http.request.hostport}` | The host and port from the request's Host header // `{http.request.method}` | The request method -// `{http.request.orig.method}` | The request's original method -// `{http.request.orig.path.dir}` | The request's original directory -// `{http.request.orig.path.file}` | The request's original filename -// `{http.request.orig.uri.path}` | The request's original path -// `{http.request.orig.uri.query}` | The request's original query string (without `?`) -// `{http.request.orig.uri}` | The request's original URI +// `{http.request.orig_method}` | The request's original method +// `{http.request.orig_uri.path.dir}` | The request's original directory +// `{http.request.orig_uri.path.file}` | The request's original filename +// `{http.request.orig_uri.path}` | The request's original path +// `{http.request.orig_uri.query}` | The request's original query string (without `?`) +// `{http.request.orig_uri}` | The request's original URI // `{http.request.port}` | The port part of the request's Host header // `{http.request.proto}` | The protocol of the request // `{http.request.remote.host}` | The host part of the remote client's address |