Commit graph

538 commits

Author SHA1 Message Date
Francis Lavoie
d3013905cb
docs: Add map regexp capture groups (#145)
https://github.com/caddyserver/caddy/pull/3991

The `outputs` bit was getting a bit long so I split it up into multiple paragraphs.

The capture group explanation is copied from the `path_regexp` matcher docs.

Added bullets in front of the example cases, because the newlines get collapsed in markdown otherwise, unless we either add bullets or double newlines. I think bullets work better here.
2021-04-05 15:20:09 -06:00
Christian Rebischke
b3381f9f5c
docs: mention caddy on Arch Linux (#150) 2021-04-05 13:31:03 -06:00
Matthew Holt
caede64af5
docs: Minor improvements 2021-02-24 11:29:17 -07:00
Kyle Johnston
23e40421c0
docs: Update upgrade guide
* Update Caddy 2 plugin instructions

The website said there is no interactive download page, but there is
now. Updated documentation to reflect this.

* Fix broken link to main.go

* Change xcaddy link to current build docs
2021-02-22 14:42:05 -07: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
Francis Lavoie
0f4885e592
docs: Fix tee command for debian instructions
`tee -a` makes no sense here, we don't want to append, overwriting is just fine
2021-02-21 02:10:21 -05: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
Francis Lavoie
2e255b1ee3
docs: Shorten cloudsmith URLs even more!
Thanks to @lskillen https://github.com/caddyserver/website/issues/134#issuecomment-775217805
2021-02-08 10:39:20 -05:00
Francis Lavoie
930109ec33
docs: Simplify the cloudsmith URL a bit more
https://github.com/caddyserver/website/issues/134#issuecomment-773271563
2021-02-04 07:36:02 -05:00
Francis Lavoie
dd3285e824
docs: Fix Cloudsmith paths (#135)
Fix #134 

I'm not sure why the old GPG path broke, but apparently it did... but the paths are shorter now, so that's nice.
2021-02-02 17:25:31 -07:00
Francis Lavoie
b33d40f15c
docs: Shorten the try_files expanded form too (#133) 2021-02-02 13:11:31 -07:00
Francis Lavoie
74db4350eb
docs: Shorten the php_fastcgi expanded form a bit (#131)
Just making use of the matcher shortcuts we have available to make it look a little less fluffy.
2021-01-27 11:32:30 -07:00
BOUT Valentin
e714536de1
download: Implement pre-selected packages (#129) 2021-01-22 12:38:34 -07:00
Luo Peng
a8700f7a04
docs: caddyfile: Minor grammar fix (closes #126) (#127) 2021-01-15 10:26:22 -07:00
Klooven
1019b7be50
docs: Escape < and > characters (#125) 2021-01-07 07:06:52 -07:00
Matthew Holt
e7b259b93d
Update to Stack Holdings 2021-01-05 11:34:32 -07:00
Francis Lavoie
5d4674e57b
docs: Update .deb docs for Cloudsmith (#124) 2020-12-31 12:01:16 -07:00
Dave Henderson
54d309cc34
docs: metrics directive: Document disable_openmetrics (#123)
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
2020-12-30 11:01:37 -07:00
Matthew Holt
01140e3f75
docs: Minor tweaks 2020-12-30 09:33:31 -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
9dd9309a9b
docs: Add map directive 2020-12-14 18:25:35 -07:00
Matthew Holt
e63739891c docs: Update remote_ip matcher 2020-12-12 12:28:15 -07:00
Matthew Holt
bc7f8553c3 docs: Add chocolatey package
Closes https://github.com/caddyserver/dist/issues/51
2020-12-12 12:28:15 -07:00
Aike de Jongste
1125092c9e
docs: Update url in index.html to fix 404 (#121) 2020-12-04 05:12:26 -05:00
Jordi Masip
4ca7b193d1
docs: --config flag supports - to read from stdin (#120) 2020-12-03 11:18:59 -07:00
Francis Lavoie
a05f559c12
docs: Update reverse_proxy examples (#119)
Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
2020-12-02 13:38:23 -05:00
Francis Lavoie
e2a6e4e212
docs: Mention the auth placeholder in basicauth docs (#117) 2020-11-26 12:20:14 -07:00
Matthew Holt
bb0693bb7d
docs: Clarify debian package behavior (closes #115) 2020-11-25 10:51:19 -07:00
Matthew Holt
94a7c5f1cd docs: Minor improvements/clarifications 2020-11-25 10:47:01 -07:00
Matthew Holt
1bdf4a6343 Add zerossl branding 2020-11-25 10:47:01 -07:00
Gilbert Gilb's
8084cba78b
docs: header default values (#98)
see https://github.com/caddyserver/caddy/pull/3807
2020-11-24 15:32:42 -07:00
Francis Lavoie
b95745040b
docs: Update adapters list, directive order note in caddyfile concepts (#97) 2020-11-24 15:28:31 -07:00
Francis Lavoie
d2aaa73a54
chore: Add .editorconfig (#113) 2020-11-24 15:20:24 -07:00
Francis Lavoie
bc64f3acc0
docs: Add missing proxy and fastcgi options (#108)
* docs: Add missing proxy and fastcgi options

* Update src/docs/markdown/caddyfile/directives/reverse_proxy.md

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

* Update src/docs/markdown/caddyfile/directives/reverse_proxy.md

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

* Update src/docs/markdown/caddyfile/directives/reverse_proxy.md

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
2020-11-24 15:19:46 -07:00
Francis Lavoie
e20ab56bf2
docs: Add caddyfile server options, reorganize the page a bit (#107)
* docs: Add caddyfile server options, reorganize the page a bit

* 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 15:18:57 -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
Francis Lavoie
5bfa8266d4
docs: Add cookie hash policy for proxy (#110)
* docs: Add cookie hash policy for proxy

* Update src/docs/markdown/caddyfile/directives/reverse_proxy.md

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

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
2020-11-24 14:27:23 -07:00
Francis Lavoie
64664222fa
docs: Add h2c scheme shortcut to Caddyfile proxy docs (#111) 2020-11-24 14:20:05 -07:00
Francis Lavoie
970aadb620
docs: Add Caddyfile env var default value (#112) 2020-11-24 13:46:27 -07:00
Francis Lavoie
44c7994cb1
docs: Add a missing Caddyfile placeholder shortcut (#109) 2020-11-23 22:49:02 -05:00
Simon Ser
2d417f3661
docs: Add network example to bind directive (#99) 2020-11-23 15:23:50 -07:00
Andy Pilate
570488d7f6
docs: Replaced http.cat example with single line respond (#106)
* Fix http.cat example with Host

* Add simpler example using respond
2020-11-23 11:22:19 -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
Francis Lavoie
6b4998a5dc
docs: Use headers for individual global options, anchor linkable (#100) 2020-11-12 15:54:37 -05:00
Francis Lavoie
828e4a4eb4
docs: Add new proxy transport options, fix buffer_requests location (#103) 2020-11-02 16:06:20 -07:00
Francis Lavoie
84ced83c0b
docs: Improve the log example to cover hiding IPs (#101) 2020-11-02 16:03:28 -07:00
MicahParks
785ffebb23
docs: Small front-page typo (#95)
Co-authored-by: Micah Parks <git@micahparks.com>
2020-10-11 12:43:49 -04:00
AJ ONeal
4b65d28bc5
docs: add Webi installer; Linux & Windows hints (#92)
* add Webi installer, and Linux & Windows hints

* fix copy pasta with setcap command

* move generic linux below mainstream distros
2020-10-09 23:49:23 -06: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
08533f5045
docs: Add filter encoder to Caddyfile docs (#90) 2020-10-01 12:27:14 -06:00