docs: host the docs at green-tea.expressive-tea.io/docs
The site hangs off the expressive-tea.io cPanel as green-tea.expressive-tea.io. A four-level docs.green-tea.expressive-tea.io subdomain reads badly and would need its own AutoSSL cert (the *.expressive-tea.io wildcard stops one level up). A /docs subfolder needs no extra host, DNS, or cert — it's a path — and is what most projects do. So the docs site now builds with base: '/docs' (its dist/ contents drop into the subdomain's docs/ folder in cPanel), the 77 hard-coded content links are prefixed, and the two hero actions Starlight doesn't rewrite are fixed by hand. Verified: /docs/ serves, / 404s, no unprefixed internal href remains. README points at the new docs URL. Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
23 files changed
+78
-77
No files matched your search
@@ -4,7 +4,7 @@ description: "TLS and wss, secure-by-default headers, CORS, and trustProxy."
|
||||
---
|
||||
|
||||
Four `createApp` options cover TLS, proxying, CORS, and response headers: `tls`,
|
||||
`trustProxy`, `cors`, and `security`. See the [`createApp` reference](/reference/createapp/)
|
||||
`trustProxy`, `cors`, and `security`. See the [`createApp` reference](/docs/reference/createapp/)
|
||||
for the full option list.
|
||||
|
||||
## TLS (native https/wss)
|
||||
@@ -97,5 +97,5 @@ strips and sets forwarded headers itself, and terminate TLS where you control th
|
||||
|
||||
## Related
|
||||
|
||||
- [`createApp` reference](/reference/createapp/) — every construction option
|
||||
- [File uploads / multipart](/guides/uploads/) — request-body handling
|
||||
- [`createApp` reference](/docs/reference/createapp/) — every construction option
|
||||
- [File uploads / multipart](/docs/guides/uploads/) — request-body handling
|
||||
Reference in new issue
Block a user