Caddy(8)
β¨ Caddy(8) β the file-server girlies' manual β¨
okay so bestie, this is the Caddy(8) page, specifically the caddy-file-server one, and it is literally the cutest way to serve files. let's get into it π
πΈ NAME πΈ
caddy-file-server β Spins up a production-ready file server
like. it just does that. no cap. β¨
π¦ SYNOPSIS π¦
caddy file-server [--domain ] [--root ] [--listen ] [--browse]
[--reveal-symlinks] [--access-log] [--precompressed] [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. π (yes queen, configure your DNS first, i'm begging)
By default, Zstandard and Gzip compression are enabled. Use --no-compress to disable compression.
If --browse is enabled, requests for folders without an index file will respond with a file listing. it's giving open house energy π
π OPTIONS π
-a,--access-log[=false]β Enable the access log. she logs everything, and honestly? valid.-b,--browse[=false]β Enable directory browsing-v,--debug[=false]β Enable verbose debug logs. main character energy for your terminal π-d,--domain=""β Domain name at which to serve the files-f,--file-limit=10000β Max directories to read. yes bestie there is a cap at10000, respect it π-h,--help[=false]β help forfile-server-l,--listen=""β The address to which to bind the listener--no-compress[=false]β Disable Zstandard and Gzip compression. turning off the glow-up, smh-p,--precompressed=[]β Specify precompression file extensions. Compression preference implied from flag order. (order matters, so like, don't just throw them in there π)--reveal-symlinks[=false]β Show symlink paths when browse is enabled.-r,--root=""β The path to the root of the site-t,--templates[=false]β Enable template rendering. slay, you can template now β¨
π₯ SEE ALSO π₯
caddy(8)β the mothership manualcaddy-file-server-export-template(8)β her bestie, the export-template one
iykyk π«Ά
π HISTORY π
1-Jan-0001 Auto generated by spf13/cobra
fr fr, that's the whole page. no secrets, no missing flags, we keep it 100 π―
and that's a wrap on this one, bestie π β generated by spf13/cobra, dated Jan 0001, and yeah, it's the Caddy(8) manual, so go forth and serve those files. periodt. πβ¨π¦
π¦ where this page comes from
- ubuntu stonking: caddy 2.11.4-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms