diff options
author | diamondburned <diamondburned@diamondb.xyz> | 2021-06-07 11:20:08 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-07 12:20:08 -0600 |
commit | f9b54454a19e2b070159ce8d2af76d819658244e (patch) | |
tree | 888ab85d70377385e617328ec34001b9695106b7 /caddytest | |
parent | 658772ff24b9e1eabf6f254d039d91e8abfcb775 (diff) |
fileserver: Redirect within the original URL (#4179)
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.
Diffstat (limited to 'caddytest')
0 files changed, 0 insertions, 0 deletions