Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
Mirrored from https://github.com/Slazee/caddy.git
Synced Nov 14, 05:15 UTC
caddyhttp: Fix orig_uri placeholder docs (#3002)
Fixes #3001
Francis Lavoie committed
Feb 4, 2020 at 17:49 UTC
ec56c257089f42ef88ec3a5ec818965c0fa5d57f
1 file changed
+6
-6
modules/caddyhttp/caddyhttp.go
+6
-6
@@ -59,12 +59,12 @@ func init() {
59
// `{http.request.host}` | The host part of the request's Host header
60
// `{http.request.hostport}` | The host and port from the request's Host header
61
// `{http.request.method}` | The request method
62
-// `{http.request.orig.method}` | The request's original method
63
-// `{http.request.orig.path.dir}` | The request's original directory
64
-// `{http.request.orig.path.file}` | The request's original filename
65
-// `{http.request.orig.uri.path}` | The request's original path
66
-// `{http.request.orig.uri.query}` | The request's original query string (without `?`)
67
-// `{http.request.orig.uri}` | The request's original URI
62
+// `{http.request.orig_method}` | The request's original method
63
+// `{http.request.orig_uri.path.dir}` | The request's original directory
64
+// `{http.request.orig_uri.path.file}` | The request's original filename
65
+// `{http.request.orig_uri.path}` | The request's original path
66
+// `{http.request.orig_uri.query}` | The request's original query string (without `?`)
67
+// `{http.request.orig_uri}` | The request's original URI
68
// `{http.request.port}` | The port part of the request's Host header
69
// `{http.request.proto}` | The protocol of the request
70
// `{http.request.remote.host}` | The host part of the remote client's address