Caddy cheat-sheet
ยท
146 words
ยท
1 minute read
What is Caddy ? ๐
caddy is an enterprise-ready open source web server with automatic HTTPS, written in Go.
Common command usage ๐
Start Caddy in the foreground:
caddy run
Start Caddy with the specified Caddyfile:
caddy run --config path/to/Caddyfile
Start Caddy in the background:
caddy start
Stop a background Caddy process:
caddy stop
Run a simple file server on the specified port with a browsable interface:
caddy file-server --listen :8000 --browse
Run a reverse proxy server:
caddy reverse-proxy --from :80 --to localhost:8000
For more information, checkout the official documentation/website: https://caddyserver.com .
I hope you enjoyed reading this post as much as I enjoyed writing it. If you know a person who can benefit from this information, send them a link of this post. If you want to get notified about new posts, follow me on YouTube , Twitter (x) , LinkedIn , and GitHub .