Commit graph

23 commits

Author SHA1 Message Date
Andrii Kushch
c734cc3e64
caddyfile: tracing directive (#205)
* Add documentation for tracing directive

* Update header in tracing.md

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>

* Update documentation in tracing.md

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>

* add link to the repository

* add link to gRPC repo and w3c specification

Co-authored-by: Andrii Kushch <>
Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
2022-03-09 10:42:06 -07:00
Francis Lavoie
c5e3aef0a2
docs: Dynamically turn subdirectives into links to anchors (#190)
* docs: Dynamically turn subdirectives into links to anchors

* Make entire rows clickable on directive page's table
2021-08-31 12:50:01 -06:00
Francis Lavoie
3dac36ebc8
docs: Updates for Caddy v2.4.4 (#189)
* docs: Updates for Caddy v2.4.4

* Adjust wording

* Clarify HTTPS proxy usage, reorder lb policies for clarity

* Reorder directives, add comments
2021-08-31 11:39:15 -06:00
Francis Lavoie
9dc0156ceb
docs: Add error caddyfile directive (#143)
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)
2021-04-16 11:37:53 -06:00
Francis Lavoie
3f3e0fb9f8
docs: Some cleanup, some v2.4.0 additions (#139)
* 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

* docs: Revise the `handle` cross-linking, add another example

* docs: Bump minimum Go version to 1.15

* docs: A bunch more additions since v2.3.0

I went through the whole list of commits here: https://github.com/caddyserver/caddy/compare/v2.3.0...ec3ac84

* docs: Review feedback

* docs: Link to https://golang.org/doc/install, better instructions
2021-02-22 13:11:21 -07:00
Matthew Holt
57b3739a21
docs: Various updates for 2.3, 2.4 beta, and Go 1.16
Steps on #139 (sorry)
2021-02-17 11:34:28 -07:00
Matthew Holt
9dd9309a9b
docs: Add map directive 2020-12-14 18:25:35 -07:00
Nicola Piccinini
caefac9b51
docs: request_body Caddyfile directive (#104)
* Add documentation about request_body directive in Caddyfile

* Add note about matchers support

Co-authored-by: Francis Lavoie <lavofr@gmail.com>

* Improve description of max_size parameter

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>

* Improve text

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>

* Improve description of request_body directive

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>

Co-authored-by: Francis Lavoie <lavofr@gmail.com>
Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
2020-11-19 12:04:39 -07:00
Matthew Holt
8818629407
docs: Add push directive to ordered list 2020-09-25 15:34:04 -06:00
Matthew Holt
af3676862b
docs: Update for v2.2 2020-09-25 12:53:11 -06:00
Dave Henderson
30084b98b0
docs: Monitoring and metrics (#86)
* metrics: Adding docs for metrics

Signed-off-by: Dave Henderson <dhenderson@gmail.com>

* Addressing review comments

Signed-off-by: Dave Henderson <dhenderson@gmail.com>

* Apply suggestions from code review

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>

* Update src/docs/markdown/metrics.md

Co-authored-by: Dave Henderson <dhenderson@gmail.com>

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
2020-09-22 20:12:24 -06:00
Matthew Holt
db18a5d4c8
docs: Numerous various updates for v2.1 2020-06-08 14:56:20 -06:00
Matthew Holt
f30a545625
docs: Add docs for acme_server Caddyfile directive 2020-06-08 12:27:26 -06:00
Francis Lavoie
e0f5ee1bb9
docs: Add Caddyfile syntax highlighting (#41) 2020-05-17 14:32:12 -06:00
Matthew Holt
5f1bd6374f docs: Add missing docs for import directive 2020-05-15 10:51:01 -06:00
Matthew Holt
fe58da0269
docs: New logging & arch articles; various minor improvements 2020-03-30 15:15:23 -06:00
Matthew Holt
f4a2d34127
docs: Add handle_errors, CEL matcher; a few other improvements 2020-03-24 17:14:09 -06:00
Matthew Holt
1aaff7aeb4
docs: Unify matcher reference docs 2020-03-22 17:23:50 -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
Matthew Holt
aea9c986d1
docs: Update for beta 15 2020-02-28 11:16:45 -07:00
Matthew Holt
72882011fc
docs: caddyfile: Clarify that not all directives accept matcher tokens 2020-02-17 16:25:11 -07:00
Matthew Holt
03b6fddeb0
Initial commit 2020-01-24 12:47:52 -07:00