1. The problem I’m having:
I cannot go further in any video on any player (I tried the simple player on mobile/desktop Edge, Kodi). When I click or tap further on the search bar, it sends me be back to the beginning of the video on Edge and on Kodi (Nvidia Shield TV) the player exits.
I didn’t observe that issue when I was using webfs.
Would you have any idea on how to solve this?
Thank you.
2. Error messages and/or full log output:
3. Caddy version:
v2.7.2
4. How I installed and ran Caddy:
Docker compose
a. System environment:
Docker compose on Debian Bookworm
b. Command:
#!/bin/bash
docker compose pull && \
docker compose up -d --remove-orphans && \
docker image prune -f
c. Service/unit/compose file:
version: "3.9"
services:
caddy:
image: caddy:latest
restart: unless-stopped
network_mode: host
volumes:
- ./options:/etc/caddy
- ./site:/srv
- /home/user/series:/srv/series
- /home/user/films:/srv/films
- /home/user/downloads:/srv/downloads
- caddy_data:/data
- caddy_config:/config
volumes:
caddy_data:
caddy_config:
d. My almost complete Caddy config:
Domain redacted.
root * /srv
file_server {
browse /etc/caddy/template.html
}
basicauth /* {
ID HASH
}
template.html
{{$useragent := .Req.Header.Get "User-Agent"}}
<!DOCTYPE html>
<html><body><table><tbody>
{{- if .CanGoUp}}
<tr>
<td><a href="..">..</a></td>
<td></td>
<td></td>
<td></td>
</tr>
{{- end}}
{{range .Items}}
<tr>
<td><a href="{{html .URL | replace "./" ""}}">{{html .Name}}</a></td>
<td>{{.HumanModTime "2006-Jan-02 15:04:05"}}</td>
<td>{{if .IsDir}}-{{else}}{{.HumanSize | replace " " "" | replace "iB" ""}}{{end}}</td>
<td>{{if .IsDir}}Directory{{else}}application/octet-stream{{end}}</td>
</tr>
{{end}}
<tbody></table></body></html>