Commit graph

26 commits

Author SHA1 Message Date
Francis Lavoie
f6ac9b025e
docs: Changes for v2.5.1 release (#228)
* docs: Changes for v2.5.1 release

* Remove path from addresses doc

* Fix www redirect pattern
2022-05-17 12:32:11 -06:00
Francis Lavoie
a1ddadf798
Docs for upcoming v2.5.0 release (#216)
* docs: new `log` filters in Caddyfile

* docs: `renew_interval` global option

* docs: Update access log example

* docs: `log_credentials` global option

* docs: `vars`, `vars_regexp` matchers

* docs: `roll_uncompressed`, `roll_local_time`

* docs: `http_redirect` listener wrapper

* docs: `pki` app

* docs: `strict_sni_host` options

* docs: `default_bind` option

* docs: `method` directive

* docs: `tls internal` subdirectives

* Apply suggestions from code review

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

* Matchers, options, file_server, reverse_proxy

* More clarifications / corrections

* Corrections from review

* Typo fix

* One more note about dynamic upstreams

* Tab -> space

* Update module namespaces

* Update some docs about logging

* `copy_response`, `copy_response_headers`, `replace_status`

* `dns_challenge_domain_override`

* `caddy trust`, API endpoints

* `trusted_proxies`

* Note about `pass_thru` being only useful inside `route`

* Improve logging docs to clarify the difference

* A bit of polish on patterns

* request_body: Clarify error behavior

* review

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
2022-03-11 14:26:00 -07:00
Francis Lavoie
e253d8efc9
docs: Adjustments for v2.4.6 2021-11-08 20:39:44 -05: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
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
4827cff659
docs: Update for v2.3; refactor install information
We now have only 1 download page, yay. Install docs are organized better. Less confusing.

Automatic HTTPS docs improved, and menu added.

Other minor updates to bring up to speed for v2.3.
2020-12-30 07:37:15 -07:00
Matthew Holt
e63739891c docs: Update remote_ip matcher 2020-12-12 12:28:15 -07:00
Francis Lavoie
3045d99f94
docs: Clarify behaviour of multiple matchers of the same type (#102)
* docs: Clarify behaviour of multiple matchers of the same type

* Apply suggestions from code review

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

* docs: Change matcher boolean wording

* Apply suggestions from code review

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

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
2020-11-24 14:44:21 -07:00
Dylan Armstrong
e643afb766
docs: Mention x-forwarded-for in remote_ip matcher (#94)
* docs: add x-forwarded-for note to remote_ip documentation

* chore: period
2020-10-09 11:33:30 -06:00
Francis Lavoie
81a9b3c54d
docs: Mention the file matcher placeholders in the caddyfile docs (#81) 2020-08-31 13:56:44 -06:00
Jamison Dance
fdfd7fd5a2
docs: Minor grammar fix (#67)
* grammar fixes

* Update src/docs/markdown/caddyfile/matchers.md

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
2020-08-06 10:31:06 -06:00
Matthew Holt
db18a5d4c8
docs: Numerous various updates for v2.1 2020-06-08 14:56:20 -06:00
Francis Lavoie
1367aebe20
docs: Add a few code lang labels, minor cleanup 2020-06-01 21:52:14 -04:00
Matthew Holt
fa3b5f6699
docs: Update a variety of docs for upcoming 2.1 betas 2020-06-01 21:52:14 -04:00
Francis Lavoie
9441648ca8
docs: Add many examples for Caddyfile request matchers, move TOC (#48)
* docs: Add many examples for Caddyfile request matchers, move TOC

* docs: Move example descriptions out of code blocks, ruler between each

* docs: Fix incorrect host matcher example

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

* docs: Improve `not` example wording

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
2020-06-01 19:42:51 -06:00
Francis Lavoie
e0f5ee1bb9
docs: Add Caddyfile syntax highlighting (#41) 2020-05-17 14:32:12 -06:00
Matthew Holt
1837e55742
docs: A few updates 2020-04-27 18:19:08 -06:00
Francis Lavoie
54229463da
docs: Clarify query matcher parameters (#29) 2020-04-24 10:30:45 -06:00
Francis Lavoie
cc329950b8
docs: Clarify regexp matcher capture group numbers (#28) 2020-04-22 16:13:59 -06:00
Matthew Holt
8e7b3b81d0
docs: Update for rc2 2020-04-09 17:32:50 -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
e8e0ec148b
docs: Update links, and change references of v2 branch to master 2020-03-23 23:01:44 -06:00
Matthew Holt
1aaff7aeb4
docs: Unify matcher reference docs 2020-03-22 17:23:50 -06:00
Mohammed Al Sahaf
30060ce9af
docs: fix the anchor fragment in the index of Caddyfile matchers (#7) 2020-02-20 14:27:49 -07:00
Matthew Holt
668d145ecc docs: caddyfile: Add page just about request matchers 2020-02-14 10:13:53 -07:00