aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules/caddyhttp/app.go
diff options
context:
space:
mode:
authorMatt Holt <[email protected]>2022-10-12 09:27:08 -0600
committerGitHub <[email protected]>2022-10-12 09:27:08 -0600
commit3e1fd2a8d4d1463574033fbbdf5c27a693f9a86c (patch)
treed1d1390daf7339278bd4aedeb5bbb2ee9fba0242 /modules/caddyhttp/app.go
parent33f60da9f2d6edc5de550275f043c4262d23f6ca (diff)
downloadcaddy-3e1fd2a8d4d1463574033fbbdf5c27a693f9a86c.tar.gz
caddy-3e1fd2a8d4d1463574033fbbdf5c27a693f9a86c.zip
httpcaddyfile: Wrap site block in subroute if host matcher used (#5130)
* httpcaddyfile: Wrap site block in subroute if host matcher used (fix #5124) * Correct boolean logic (oops)
Diffstat (limited to 'modules/caddyhttp/app.go')
-rw-r--r--modules/caddyhttp/app.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/app.go b/modules/caddyhttp/app.go
index 33d96d867..0943b32df 100644
--- a/modules/caddyhttp/app.go
+++ b/modules/caddyhttp/app.go
@@ -66,7 +66,7 @@ func init() {
// `{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
+// `{http.request.remote.host}` | The host (IP) part of the remote client's address
// `{http.request.remote.port}` | The port part of the remote client's address
// `{http.request.remote}` | The address of the remote client
// `{http.request.scheme}` | The request scheme