mirror of
https://github.com/umputun/reproxy.git
synced 2024-11-24 08:12:31 +02:00
replace keep host with less verbose but more detailed dbg messages only if keep host is enabled
This commit is contained in:
parent
85702e4de1
commit
1959706ab4
@ -224,6 +224,8 @@ func (h *Http) proxyHandler() http.HandlerFunc {
|
||||
r.URL.Scheme = uu.Scheme
|
||||
if !keepHost {
|
||||
r.Host = uu.Host
|
||||
} else {
|
||||
log.Printf("[DEBUG] keep host %s", r.Host)
|
||||
}
|
||||
h.setXRealIP(r)
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user