mirror of
https://github.com/caddyserver/caddy.git
synced 2025-03-25 07:19:04 -04:00
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.