Searched refs:XForwardedProto (Results 1 – 4 of 4) sorted by relevance
44 xfProto := req.Header.Get(XForwardedProto)47 req.Header.Set(XForwardedProto, "https")49 req.Header.Set(XForwardedProto, "http")54 if req.Header.Get(XForwardedProto) == "https" {55 req.Header.Set(XForwardedProto, "wss")57 req.Header.Set(XForwardedProto, "ws")83 if req.Header.Get(XForwardedProto) == "https" || req.Header.Get(XForwardedProto) == "wss" {
5 XForwardedProto = "X-Forwarded-Proto" const60 XForwardedProto,
10 XForwardedProto = "X-Forwarded-Proto" const18 proto := req.Header.Get(XForwardedProto)
226 xfp := req.Header.Get(forward.XForwardedProto)229 forwardReq.Header.Set(forward.XForwardedProto, xfp)231 forwardReq.Header.Set(forward.XForwardedProto, "https")233 forwardReq.Header.Set(forward.XForwardedProto, "http")