diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2020-01-11 13:47:42 -0700 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2020-01-11 13:47:42 -0700 |
commit | 25dea2903e613534e00a2a4e305e0c8f2daeea8d (patch) | |
tree | a1dabd4ffa5a277adea31ee309f246be0baf6ff7 /modules/caddyhttp/reverseproxy/fastcgi | |
parent | d876de61e512db7a31a7ae59723d5134048f283e (diff) |
http: A little more polish on rewrite handler and try_files directive
Diffstat (limited to 'modules/caddyhttp/reverseproxy/fastcgi')
-rw-r--r-- | modules/caddyhttp/reverseproxy/fastcgi/caddyfile.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/reverseproxy/fastcgi/caddyfile.go b/modules/caddyhttp/reverseproxy/fastcgi/caddyfile.go index ca0d6cc..dee6eb5 100644 --- a/modules/caddyhttp/reverseproxy/fastcgi/caddyfile.go +++ b/modules/caddyhttp/reverseproxy/fastcgi/caddyfile.go @@ -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}, |