mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-26 20:15:54 +03:00
rewrite: Caddyfile directive should always invoke a rehandle
This is unless each route's matcher is dynamically executed after previous handlers...
This commit is contained in:
parent
c32b7e8865
commit
d9136fb0a0
1 changed files with 1 additions and 0 deletions
|
@ -33,5 +33,6 @@ func parseCaddyfile(h httpcaddyfile.Helper) (caddyhttp.MiddlewareHandler, error)
|
|||
for h.Next() {
|
||||
rewr.URI = h.Val()
|
||||
}
|
||||
rewr.Rehandle = true
|
||||
return rewr, nil
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue