diff options
author | Matt Holt <mholt@users.noreply.github.com> | 2022-10-12 09:27:08 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-12 09:27:08 -0600 |
commit | 3e1fd2a8d4d1463574033fbbdf5c27a693f9a86c (patch) | |
tree | d1d1390daf7339278bd4aedeb5bbb2ee9fba0242 /modules | |
parent | 33f60da9f2d6edc5de550275f043c4262d23f6ca (diff) |
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')
-rw-r--r-- | modules/caddyhttp/app.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/app.go b/modules/caddyhttp/app.go index 33d96d8..0943b32 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 |