caddy

A powerful, enterprise-ready, open source web server with automatic HTTPS, written in Go.

TLDR

Start Caddy in the foreground

$ caddy run
copy

Start Caddy with the specified Caddyfile

$ caddy run --config [path/to/Caddyfile]
copy

Start Caddy in the background

$ caddy start
copy

Stop a background Caddy process

$ caddy stop
copy

Run a simple file server on the specified port with a browsable interface

$ caddy file-server --listen :[8000] --browse
copy

Run a reverse proxy server

$ caddy reverse-proxy --from :[80] --to localhost:[8000]
copy

Copied to clipboard
Dodo Farming