1. The problem I’m having:
Hi everyone,
I’m new to Caddy and I do like how simple it is to get started with it without much configuration.
I have a simple file server that contains a bunch of images and videos that is made accessible to the public via Cloudflare Tunnel (I have my own domain with then, the website is for friends only, it is locked down by geo restrictions + requires one to log in with their Google account). The server works fine: the files are served, the connection is stable, the video playback is smooth; I even managed to get a favicon displayed with proper rendition for different browsers & mobile/PC devices + a nice looking folder path at the top that says “/media/” instead of just simply the root “/”.
Anyways, the only grapple I’m experiencing with the file server right now is weird video playback behavior on Android and iOS devices. On Android, the videos are played, but the resolution of every video is stretched out to the entire screen’s dimension, which makes the videos look funny and low-quality. On iOS, some of the videos are preloaded, I can download them, but they won’t be played: the play button just spins forever or does nothing.
I’m not exactly sure where the issue might be, as I’ve never closely worked with media, I suspect it’ might be something related to how videos are rendered in the respective OSes? FYI, all the videos are in mp4 format, filmed recently on an Android phone.
Any ideas as to why this behavior exists and how to tackle it would be highly appreciated.
Thanks a lot!
2. Error messages and/or full log output:
N/A
3. Caddy version:
Latest via docker image.
4. How I installed and ran Caddy:
Caddy is installed as a separate docker container running the latest image version.
a. System environment:
OpenSuse server edition, x86, docker.
b. Command:
N/A
c. Service/unit/compose file:
N/A
d. My complete Caddy config:
N/A
5. Links to relevant resources:
N/A