caddy
An enterprise-ready open source web server with automatic HTTPS, written in Go. More information: https://caddyserver.com/docs/command-line.
- Start Caddy in the foreground:
caddy run
- Start Caddy with the specified Caddyfile:
caddy run --config
- 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 : --browse
- Run a reverse proxy server:
caddy reverse-proxy --from : --to localhost:
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
