mirror of
https://github.com/caddyserver/caddy.git
synced 2026-10-20 03:02:08 -04:00
http: A little more polish on rewrite handler and try_files directive
This commit is contained in:
5 files changed
+51
-48
No files matched your search
@@ -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