Commit graph

7 commits

Author SHA1 Message Date
Francis Lavoie
22301d6a81
Big Caddyfile docs update (#374) 2024-02-20 06:49:30 -05:00
Matthew Holt
499644a8a3
caddyfile: Update rewrite and path matcher docs
Regarding URI encoding and path cleaning
2022-08-12 16:40:17 -06:00
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
Francis Lavoie
b0324a9470
docs: Add path_regexp option for uri directive (#144)
ad8d01cb66
2021-04-16 11:36:54 -06:00
Francis Lavoie
e0f5ee1bb9
docs: Add Caddyfile syntax highlighting (#41) 2020-05-17 14:32:12 -06:00
Matthew Holt
54592ba4d5
docs: Minor improvements / fixes 2020-03-22 16:14:17 -06:00
Matthew Holt
6f712d4ee4
docs: General updates for beta 18 2020-03-21 21:03:55 -06:00