mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-09 20:38:49 +03:00
f9b54454a1
This commit changes the file_server directive to redirect using the original request's URL instead of the possibly trimmed URL. This should make file_server work with handle_path. This fix is taken from mholt's comment in https://caddy.community/t/file-servers-on-different-paths-not-working/11698/11. |
||
---|---|---|
.. | ||
testdata | ||
browse.go | ||
browse_test.go | ||
browsetpl.go | ||
browsetplcontext.go | ||
browsetplcontext_test.go | ||
caddyfile.go | ||
command.go | ||
matcher.go | ||
matcher_test.go | ||
staticfiles.go | ||
staticfiles_test.go |