I’m having an issue with using the http.browse module in my Caddyfile.
127.0.0.1:5555/folder {
basicauth user password
browse /
}
going to http://127.0.0.1:5555/folder
results in the directories and files being listed as normal. However, clicking on a file results it trying to go to http://127.0.0.1:5555/somefile.ext
, which results in a 404 error.
How would I make Caddy use the correct path?
Using Caddy 0.10.11
EDIT:
It seems to have resolved itself now, but I’m not entirely sure why. Consider this closed.
I did replace the browse with the filemanager middleware, and after changing it back to browse everything worked.