summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/reverseproxy/command.go
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2019-12-12 14:31:20 -0700
committerMatthew Holt <mholt@users.noreply.github.com>2019-12-12 14:31:20 -0700
commit87b6cf470baacd659cd20815de2804ae4a31df7f (patch)
tree2faea4d119909790d0b1a489c0ea46b34f44dd52 /modules/caddyhttp/reverseproxy/command.go
parentf935458e3e30a8d9f47f37ad35fe9c546b841fa3 (diff)
Minor improvements; comments and shorter placeholders & module IDs
Diffstat (limited to 'modules/caddyhttp/reverseproxy/command.go')
-rw-r--r--modules/caddyhttp/reverseproxy/command.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/reverseproxy/command.go b/modules/caddyhttp/reverseproxy/command.go
index e16c4f5..1638d82 100644
--- a/modules/caddyhttp/reverseproxy/command.go
+++ b/modules/caddyhttp/reverseproxy/command.go
@@ -100,7 +100,7 @@ func cmdReverseProxy(fs caddycmd.Flags) (int, error) {
Headers: &headers.Handler{
Request: &headers.HeaderOps{
Set: http.Header{
- "Host": []string{"{http.handlers.reverse_proxy.upstream.host}"},
+ "Host": []string{"{http.reverse_proxy.upstream.host}"},
},
},
},