mirror of
https://github.com/umputun/reproxy.git
synced 2024-11-16 20:25:52 +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