Commit 4aadbd4
docs(deploy): match installer fixes — multi-line Caddyfile + explicit build-tools step
The manual deploy guide had the same two gotchas the one-line installer
just fixed:
1. The Caddyfile snippet used the inline `transport http { read_timeout
1h }` syntax that Caddy 2.11.3 rejects with "Unexpected next token
after '{' on same line". Anyone following DEPLOY.md verbatim on a
modern Caddy would hit the same `systemctl restart caddy` failure
we just spent half an hour debugging on the install demo VM.
2. The build-essential requirement was a parenthetical aside on the
`npm install` line ("if no prebuilt binary"), which reads like an
edge case but is the default failure mode on fresh Ubuntu 24.04
where there is no prebuilt path.
Fixes:
- Caddy snippet now uses multi-line subdirective syntax (matches the
installer's CADDY_CONF template).
- New Step 2: "Install build tools" — handles Debian/Ubuntu and RHEL
families, idempotent.
- Existing steps 2-7 renumbered to 3-8; "step 4" cross-reference in
the browser-setup section bumped to "step 5".
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 691f26b commit 4aadbd4
1 file changed
Lines changed: 24 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
27 | 40 | | |
28 | 41 | | |
29 | 42 | | |
30 | 43 | | |
31 | 44 | | |
32 | 45 | | |
33 | | - | |
| 46 | + | |
34 | 47 | | |
35 | | - | |
| 48 | + | |
36 | 49 | | |
37 | 50 | | |
38 | 51 | | |
| |||
47 | 60 | | |
48 | 61 | | |
49 | 62 | | |
50 | | - | |
| 63 | + | |
51 | 64 | | |
52 | 65 | | |
53 | 66 | | |
| |||
77 | 90 | | |
78 | 91 | | |
79 | 92 | | |
80 | | - | |
| 93 | + | |
81 | 94 | | |
82 | 95 | | |
83 | 96 | | |
| |||
98 | 111 | | |
99 | 112 | | |
100 | 113 | | |
101 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
102 | 117 | | |
103 | 118 | | |
104 | 119 | | |
| |||
129 | 144 | | |
130 | 145 | | |
131 | 146 | | |
132 | | - | |
| 147 | + | |
133 | 148 | | |
134 | | - | |
| 149 | + | |
135 | 150 | | |
136 | | - | |
| 151 | + | |
137 | 152 | | |
138 | 153 | | |
139 | 154 | | |
| |||
0 commit comments