mirror of
https://github.com/caddyserver/caddy.git
synced 2026-10-25 13:28:48 -04: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:
1 file changed
+1
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user