I have Caddy 1.0.0 set up to serve files from a directory on my LAN, but it’s very slow. It only does 40 MB/s while Samba has no problem doing 150 MB/s. Caddy also consumes 130% CPU while the download is going on.
What could be wrong?
Here’s my config:
hostname {
root /htdocs
log / /var/log/caddy/out.log "{remote} - {user} [{when}] \"{method} {uri} {proto}\" {status} {size} {request}"
basicauth /video user htpasswd=../../../../etc/caddy/htpasswd
browse /video
}