mirror of
https://github.com/caddyserver/website.git
synced 2025-04-20 04:15:04 -04:00
No description
![]() Docs for the new directive in https://github.com/caddyserver/caddy/pull/4034. Also adding a bit in `handle_errors` mentioning that `reverse_proxy` doesn't trigger errors when a response has an "error" HTTP status; not sure how to word this clearly, cause `reverse_proxy` still can trigger errors if there's no upstream or whatever. We should probably add examples for that later, and augment this paragraph to mention `handle_response` once that's merged (https://github.com/caddyserver/caddy/pull/4021) |
||
---|---|---|
.github | ||
src | ||
.editorconfig | ||
.gitignore | ||
Caddyfile | ||
README.md |
The Caddy Website
This is the source of the Caddy website, caddyserver.com.
Requirements
- Caddy 2 (installed in your PATH as
caddy
)
Quick start
git clone https://github.com/caddyserver/website.git
cd website
caddy run
Your first time, you may be prompted for a password. This is so Caddy can serve the site over local HTTPS. If you can't bind to low ports, change the address at the top of the Caddyfile, for example localhost:2015
.
You can then load https://localhost (or whatever address you configured) in your browser.