No description
Find a file
Francis Lavoie 1ff5103c73
docs: Clarify uri syntax, replacement variables (#173)
- The syntax definition was confusing because it was mixing one-of options and optional arguments which are only relevant for certain options.

- Add notes about replacement capture groups. Wording could probably be improved here. Point is, capture groups are supported, using Golang's syntax (doesn't use Caddy's placeholder syntax, which can be a gotcha)

- Add similar directives section, mainly to point out that `handle_path` can be used instead in many situations to save a line. The note about `rewrite` is kinda redundant with the small paragraph at the top though. Should we move that explanation down into `Similar directives`?
2021-06-21 11:50:32 -06:00
.github Create FUNDING.yml 2020-01-24 12:55:31 -07:00
src docs: Clarify uri syntax, replacement variables (#173) 2021-06-21 11:50:32 -06: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.