mirror of
https://github.com/caddyserver/website.git
synced 2025-04-20 04:15:04 -04:00
No description
![]() * Update reverse_proxy.md Documantion says: "By default, Caddy passes thru incoming headers [...], with two exceptions:". But technically there is another another header that is added (if not present): `Accept-Encoding`. When the client is a web browser this header should be already set. But for curl or similar tools, that might not be the case. * Update src/docs/markdown/caddyfile/directives/reverse_proxy.md Perfect! Co-authored-by: Francis Lavoie <lavofr@gmail.com> Co-authored-by: Francis Lavoie <lavofr@gmail.com> |
||
---|---|---|
.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.