No description
Find a file
Francis Lavoie cd27d391ca
docs: Some cleanup, some v2.4.0 additions
- Add `abort` directive docs
- Add a note in `handle` to cross-link to `handle_path`
- Add another example in `handle_errors` that shows how an `expression` matcher can be used to pair with it
- Add a cat emoji to handle_errors because 😸
- Add `file_server` to one of the `php_fastcgi` examples, it's rare that you'll ever use it without `file_server` so might as well include it there
- Add a TOC to `reverse_proxy` cause it's such a long page. Maybe we'll add one to other pages as well, but TBD
- Clarify the upstream address stuff a bit after some discussion in https://caddy.community/t/reverse-proxy-with-multiple-different-upstreams-with-paths/11512/12 and mention `rewrite` as the alternative
- Use the `{re.*.*}` shortcut in the Caddyfile matcher docs, links to the placeholder mapping to let people trace where that comes from
2021-02-17 19:42:40 -05:00
.github Create FUNDING.yml 2020-01-24 12:55:31 -07:00
src docs: Some cleanup, some v2.4.0 additions 2021-02-17 19:42:40 -05:00
.editorconfig chore: Add .editorconfig (#113) 2020-11-24 15:20:24 -07:00
.gitignore Initial commit 2020-01-24 12:47:52 -07:00
Caddyfile Minor style updates, add business contact page 2020-05-02 23:26:37 -06:00
README.md docs: Add SPA page for listing modules by their ID 2020-03-21 21:03:29 -06:00

The Caddy Website

This is the source of the Caddy website, caddyserver.com.

Requirements

  • Caddy 2 (installed in your PATH as caddy)

Quick start

  1. git clone https://github.com/caddyserver/website.git
  2. cd website
  3. 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.