1Caddy(8)                                                              Caddy(8)
2
3
4

NAME

6       caddy-file-server - Spins up a production-ready file server
7
8
9

SYNOPSIS

11       caddy file-server [flags]
12
13
14

DESCRIPTION

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

OPTIONS

35       -a, --access-log[=false]      Enable the access log
36
37
38       -b, --browse[=false]      Enable directory browsing
39
40
41       -v, --debug[=false]      Enable verbose debug logs
42
43
44       -d, --domain=""      Domain name at which to serve the files
45
46
47       -h, --help[=false]      help for file-server
48
49
50       -l, --listen=""      The address to which to bind the listener
51
52
53       -r, --root=""      The path to the root of the site
54
55
56       -t, --templates[=false]      Enable template rendering
57
58
59

SEE ALSO

61       caddy(8), caddy-file-server-export-template(8)
62
63
64

HISTORY

66       30-Oct-2023 Auto generated by spf13/cobra
67
68
69
70Auto generated by spf13/cobra      Oct 2023                           Caddy(8)
Impressum