Man page - caddy-file-server(8)
Packages contains this manual
- caddy-completion(8)
- caddy-start(8)
- caddy-list-modules(8)
- caddy-fmt(8)
- caddy-adapt(8)
- caddy(8)
- caddy-build-info(8)
- caddy-untrust(8)
- caddy-manpage(8)
- caddy-reverse-proxy(8)
- caddy-environ(8)
- caddy-respond(8)
- caddy-run(8)
- caddy-trust(8)
- caddy-reload(8)
- caddy-validate(8)
- caddy-stop(8)
- caddy-version(8)
- caddy-hash-password(8)
- caddy-file-server(8)
apt-get install caddy
Manual
Caddy
NAMESYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO
HISTORY
NAME
caddy-file-server - Spins up a production-ready file server
SYNOPSIS
caddy file-server [flags]
DESCRIPTION
A simple but production-ready file server. Useful for quick deployments, demos, and development.
The listenerโs socket address can be customized with the --listen flag.
If a domain name is specified with --domain, the default listener address will be changed to the HTTPS port and the server will use HTTPS. If using a public domain, ensure A/AAAA records are properly configured before using this option.
If --browse is enabled, requests for folders without an index file will respond with a file listing.
OPTIONS
|
--access-log [=false] |
Enable the access log |
||
|
--browse [=false] |
Enable directory browsing |
||
|
--debug [=false] |
Enable verbose debug logs |
||
|
--domain ="" |
Domain name at which to serve the files |
||
|
-h , --help [=false] |
help for file-server |
||
|
--listen ="" |
The address to which to bind the listener |
||
|
--root ="" |
The path to the root of the site |
||
|
--templates [=false] |
Enable template rendering |
SEE ALSO
caddy(8)
HISTORY
12-Jul-2025 Auto generated by spf13/cobra