Sanitized root snapshot from private source commit a72903c63e1753f9e6ffbf40453c0830bdfc05c5 and tree 295641e67eef5979da76746d8ae271249568263e. Private development history and workflows are excluded by the exact allowlist. AI-assisted: OpenAI Codex helped implement, test, and audit this preview. Signed-off-by: Cole Speelman <crspeelman@gmail.com>
20 lines
636 B
Markdown
20 lines
636 B
Markdown
# Reusable Tend examples
|
|
|
|
This subtree is licensed 0BSD so an operator can copy and adapt it without
|
|
bringing the Tend program's AGPL license into an application configuration.
|
|
|
|
The blue/green example expects separately reviewed environment files:
|
|
|
|
```text
|
|
# /etc/example-site/blue.env
|
|
EXAMPLE_LISTEN=127.0.0.1:8090
|
|
|
|
# /etc/example-site/green.env
|
|
EXAMPLE_LISTEN=127.0.0.1:8091
|
|
```
|
|
|
|
Production configuration belongs outside the source checkout, owned by root,
|
|
and not group- or world-writable. The Caddy handler template is an entire
|
|
imported handler fragment; the enclosing site, matchers, and routing precedence
|
|
remain operator-owned.
|