mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-02 10:52:49 +02:00
proxy: update warning message
This commit is contained in:
parent
85a1a6d013
commit
c8c307be69
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,7 @@ func (p *Proxy) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|||
// Routes can be filtered by the `source`, `prefix`, `path` and `regex` fields in the policy config.
|
||||
func routeMatcherFuncFromPolicy(policy config.Policy) mux.MatcherFunc {
|
||||
if !(policy.Source.Path == "" || policy.Source.Path == "/") {
|
||||
log.Warn().Str("source", policy.Source.String()).Msg("proxy: dropping path from %v, should be set using path key")
|
||||
log.Warn().Str("from", policy.From).Msgf("proxy: dropping path from %s, should be set using path key", policy.Source.String())
|
||||
}
|
||||
|
||||
// match by source
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue