V2 how use file_server to play mp4 video online

1. Caddy version (caddy version):


2. How I run Caddy:

caddy run --config caddy.json

a. System environment:

ubuntu 1804

b. Command:

caddy run --config caddy.json

c. Service/unit/compose file:

paste full file contents here

d. My complete Caddyfile or JSON config:

	"apps": {
		"http": {
			"servers": {
				"fileserver": {
					"listen": [
					"routes": [
							"handle": [
									"handler": "file_server",
									"root": "/storage/downloads",
									"hide": [""],
									"index_names": [""],
									"browse": {
										"template_file": ""
									"canonical_uris": false,
									"pass_thru": false

3. The problem I’m having:

i test play a .mp4( ~10M) video online, it works well and do not download it;
but when i play a big .mp4(~5G) video online ,it do not play but download it
why??? and how to play a big .mp4 video online???

4. Error messages and/or full log output:

5. What I already tried:

6. Links to relevant resources:

So for now the post is there but it isn’t? :slight_smile:

What is the full output of curl -v ... where ... is the URL to the videos? The output for each video would be great.

This topic was automatically closed after 30 days. New replies are no longer allowed.