1Caddy(8) Caddy(8)
2
3
4
6 caddy-file-server - Spins up a production-ready file server
7
8
9
11 caddy file-server [flags]
12
13
14
16 A simple but production-ready file server. Useful for quick deploy‐
17 ments, demos, and development.
18
19
20 The listener's socket address can be customized with the --listen flag.
21
22
23 If a domain name is specified with --domain, the default listener ad‐
24 dress will be changed to the HTTPS port and the server will use HTTPS.
25 If using a public domain, ensure A/AAAA records are properly configured
26 before using this option.
27
28
29 If --browse is enabled, requests for folders without an index file will
30 respond with a file listing.
31
32
33
35 --access-log[=false] Enable the access log
36
37
38 --browse[=false] Enable directory browsing
39
40
41 --debug[=false] Enable verbose debug logs
42
43
44 --domain="" Domain name at which to serve the files
45
46
47 -h, --help[=false] help for file-server
48
49
50 --listen="" The address to which to bind the listener
51
52
53 --root="" The path to the root of the site
54
55
56 --templates[=false] Enable template rendering
57
58
59
61 caddy(8)
62
63
64
66 15-Aug-2023 Auto generated by spf13/cobra
67
68
69
70Auto generated by spf13/cobra Aug 2023 Caddy(8)