mirror of
https://github.com/caddyserver/caddy.git
synced 2026-05-03 21:33:09 -04:00
http: A little more polish on rewrite handler and try_files directive
This commit is contained in:
@@ -149,7 +149,7 @@ func parsePHPFastCGI(h httpcaddyfile.Helper) ([]httpcaddyfile.ConfigValue, error
|
||||
}),
|
||||
}
|
||||
rewriteHandler := rewrite.Rewrite{
|
||||
URI: "{http.matchers.file.relative}?{http.request.uri.query}",
|
||||
URI: "{http.matchers.file.relative}",
|
||||
}
|
||||
rewriteRoute := caddyhttp.Route{
|
||||
MatcherSetsRaw: []caddy.ModuleMap{rewriteMatcherSet},
|
||||
|
||||
Reference in New Issue
Block a user