* docs: Changes for v2.5.2 release
* docs: Remove -X POST
Curl automatically uses POST for -d and --data-binary.
I intentionally left it in to be explicit to learners, but
maybe best practices are better.
* api: /adapt endpoint and Etag usage
* api: Minor tweaks
* Alright fine
* Clarify Etag usage
* CEL embedded matchers
* Oops
* Lots more adjustments
Co-authored-by: Francis Lavoie <lavofr@gmail.com>
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)
* 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