Commit graph

317 commits

Author SHA1 Message Date
Jared Forsyth
6e7cc49915
metrics: Add a note about when metrics became opt-in (#276)
* Add a note about when metrics was added

* better note

* Update src/docs/markdown/metrics.md

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

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
2022-10-10 09:29:11 -06:00
Kévin Dunglas
2bbe61c3cc
docs: system.wd placeholder (#275) 2022-10-08 09:55:14 -06:00
Eddie Lebow
cec799bd2f
root: Fix typo and change word (#272) 2022-09-30 00:14:24 -06:00
Malloc Voidstar
2541c63775
log: ip_mask works on bits, not bytes (#270) 2022-09-22 11:43:36 -04:00
Matthew Holt
685dfc83c1
docs: Update info about metrics for 2.6
Also add events.handlers namespace and fix dhall link.
2022-09-20 13:27:27 -06:00
IndeedNotJames
7ed2cf1bfa
docs: Improve Arch Linux package wording (#267) 2022-09-17 21:41:07 +02:00
Matt Holt
d47c2f7dfa
docs: Various clarifications
* docs: Getting Started -> Intro, new Getting Started

Several other smaller improvements and clarifications.

* Replace original Getting Started for now

* Fix title

Started in #263 - will handle new Introduction article another time
2022-09-16 17:11:09 -06:00
Matthew Holt
c429966513
docs: General 2.6 updates 2022-09-16 17:03:41 -06:00
Alex Bradbury
a87295bf0b
docs: Clarify how handle directives may be re-ordered (#264)
As discussed in <https://github.com/caddyserver/caddy/issues/5037>.
2022-09-13 22:06:00 -06:00
Dávid Szabó
3fe4d09713
metrics: Add caddy_reverse_proxy_upstreams_healthy (#257) 2022-09-07 12:24:30 -06:00
Matthew Holt
2ab3061111
Update docs for 2.6 2022-09-06 13:57:07 -06:00
Matthew Holt
c67668615e
map: Fix example typo (close #258) 2022-09-05 16:42:48 -06:00
Matthew Holt
be47c4989f reverseproxy: Clarify flush behavior (fix #261) 2022-09-05 13:31:47 -06:00
BALLOON | FU-SEN
2bd46fea8c
install: update webi commands (#259) 2022-09-04 01:01:58 -04:00
Matthew Holt
7eda8a29d2
command-line: Add manpage and completion 2022-08-30 21:44:24 -06:00
Matthew Holt
8f8a09fcad
reverse_proxy: Clarify streaming/buffering 2022-08-29 10:15:26 -06:00
Matthew Holt
39219c6ea7 build: Add sudo to dpkg-divert procedure 2022-08-25 15:31:55 -06:00
Ben Burkert
c90c151730
caddyfile: document ocsp interval global option (#254) 2022-08-24 11:33:02 -06:00
Matthew Holt
8f6cf99986
docs: Minor improvements 2022-08-17 13:57:48 -06:00
Dan Farino
dd191b380f
remove extra word (#252) 2022-08-16 21:58:40 -04:00
Matthew Holt
82b7002901
tutorials: Enhance reverse proxy quick-start 2022-08-15 18:12:34 -06: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
68a8219fa4
tls: Clarify internal shortcut limitations (#251) 2022-08-09 22:08:12 -06:00
Matthew Holt
292b80bf6a
api: Fix in-page links
This is really dumb though
2022-08-01 19:44:24 -06:00
Matthew Holt
46a24de506
cli: Fix template rendering (oops) 2022-08-01 14:01:55 -06:00
Matthew Holt
d6733bc63d
cli: Add 'caddy respond' docs 2022-08-01 13:43:38 -06:00
Matthew Holt
cddded78a7
file_server: Add docs for virtual file system support. 2022-07-31 21:39:58 -06:00
Matthew Holt
cd102116b1
Various install/deploy updates and improvements
Install: Remove DigitalOcean
Running: Add sc.exe Windows service info

Also add caddy.fs namespace docs
2022-07-29 14:42:23 -06:00
Matthew Holt
b418c40043
namespaces: Mark caddy.fs as experimental 2022-07-24 22:32:38 -06:00
Matthew Holt
e14f50d148
Improve docs for file_server and add caddy.fs namespace 2022-07-24 22:29:33 -06:00
bt90
189e456a63
docs: expose 443/udp for HTTP3 support (#250) 2022-07-24 08:46:25 -04:00
Mohammed Al Sahaf
47f2e155bf
download: add warning message for macOS users to unquarantine the binary (#249) 2022-07-21 11:40:45 -06:00
Matthew Holt
bb37b39a0e
request_header: Link to proxy header manipulation
For some header fields, it matters that the header manipulation is aware
of the proxying context, for example with hop-by-hop headers.
2022-07-19 12:18:09 -06:00
Matthew Holt
1acf66dd74
docs: Add dhall config adapter 2022-07-14 18:28:59 -06:00
Francis Lavoie
0f35ad14b1
forward_auth: Typo fix, minor clarification callout 2022-07-14 00:25:47 -04:00
Matthew Holt
e8368d6769
caddyfile: Clarify bad query string match behavior 2022-07-13 12:16:54 -06:00
Matthew Holt
6ccb6fff21
cli: Add signal and exit code docs
Also minor tweak to config comparison table
2022-07-12 20:46:25 -06:00
Matt Holt
7819a84e59
2.5.2 docs (#247)
* 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>
2022-07-12 12:52:18 -06:00
Matthew Holt
522d1961d1
I hate JS 2022-07-05 13:29:22 -06:00
Matthew Holt
1bf01c7020
download: Umm apparently that wasn't good enough 2022-07-05 13:28:27 -06:00
Matthew Holt
2c035253ab
download: Make fathom optional
It seems to be blocked by ad blockers??
2022-07-05 13:25:38 -06:00
Matthew Holt
52de5be0f8
M1 -> Apple
As there is now an M2 chip announced
2022-06-14 23:14:17 -06:00
Francis Lavoie
655786d85e
docs: Some random polish (#241)
* docs: Some random polish

Just a bunch of little things that I think would help users from frequently asked forum questions.

* Adjustments, fix `tls_server_name` docs

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

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

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
2022-06-06 12:36:50 -06:00
otbutz
8f61c3c71f
reverse_proxy: Document header policy fallback (#237)
* reverse_proxy: Document header policy fallback

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

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
2022-06-01 16:04:13 -06:00
Francis Lavoie
0ab6e3f005
css: Fix layout on mobile 2022-05-17 22:34:33 -04:00
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
Max Truxa
23297691f1
docs: Fix Debian installation instructions (#219)
Co-authored-by: Francis Lavoie <lavofr@gmail.com>
2022-05-17 11:05:56 -04:00
Francis Lavoie
64d67e510e
json: Make URL #fragment jump to the right spot after loading (#233) 2022-05-15 13:02:31 -06:00
Francis Lavoie
e03cbec7c4
css: Rework how paper is positioned (#230)
On Firefox, we were seeing an extra large horizontal scrollbar. Didn't happen on Chrome though. I think it's an edgecase bug with Firefox... but I think we can take a better approach that can avoid it anyways.

The CSS for `paper` classes was set up so that they would stack/overlap onto eachother. It was using `left: -100%;` and `left: -200%;` on `paper2` and `paper3`, to stack the next two on top of the first one, all three being relative positioned.

The problem comes because I think Firefox calculates the scrollbar width before relative positioning calculations come into play, so because the elements were rendered way off to the right before being moved over, it would "grow" the page really wide. Go to https://caddyserver.com/docs/ on any browser, element inspector, find `#paper2` and `.paper3`, uncheck the `left` CSS prop on both of those. You'll see that they render over to the right.

An alternate way to do the same thing is to use negative margins to stack the elements. I think margins are calculated earlier, so on Firefox this doesn't cause a scrollbar problem.

I did need to use a `calc()` unfortunately to get it pixel-perfect positioning compared to how it was before, because `#paper1` has `margin-left: 20px` and then `#paper2` inherits that margin so it needs to remove the extra 20px to realign. `calc()` is cheap though. It's fine.

Also, need `z-index: -1;` to make sure the BG papers go behind the page content.
2022-05-11 11:28:10 -06:00
Francis Lavoie
e0541c0f3f
docsearch: Upgrade to v3 (#231)
See:
- https://docsearch.algolia.com/docs/DocSearch-v3
- https://docsearch.algolia.com/docs/migrating-from-v2
2022-05-11 10:31:22 -06:00