Files
everythingbutwork/Caddyfile
T
dejanandClaude Opus 4.7 4f33509a0f
ci / quality (push) Has been cancelled
ci / build (push) Has been cancelled
Initial commit: everythingbutwork MVP
Internes Project-Management-Tool für ToolCTRL — ergänzend zu Plane (Tickets)
und Outline (Doku). Umfasst Puls-Übersicht, Tagesrhythmus (Lock-in + Reflexion),
Bereichs-Detail-Views (Entwicklung/Vertrieb/Marketing), Pflicht-Minimum-Check
und Blocker-Lifecycle gemäß Projektmanagement-Leitfaden v3.0.

Stack: pnpm-Monorepo · Vite + React 18 + Tailwind · Fastify + tRPC v11 +
Drizzle ORM · Postgres 16 · Authentik OIDC (Phase 2, Dev-Auto-Login aktiv).

Planungs-Artefakte unter _bmad-output/planning-artifacts/.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-25 22:47:26 +02:00

30 lines
741 B
Caddyfile

# Caddy 2.x — Reverse-Proxy für das Cockpit.
# Lokal: http://localhost
# Produktion: cockpit.tool-ctrl.de
{$COCKPIT_HOST:cockpit.tool-ctrl.de} {
encode zstd gzip
# /internal/* darf nur über das interne Netz erreichbar sein.
@internal path /internal/*
respond @internal 403
# API + tRPC → Backend
@api path /api/* /trpc/*
reverse_proxy @api api:3000
# Static frontend
root * /srv
try_files {path} /index.html
file_server
# Security-Headers (CSP wird in Story 6.x feinjustiert)
header {
Strict-Transport-Security "max-age=31536000; includeSubDomains"
X-Content-Type-Options "nosniff"
Referrer-Policy "strict-origin-when-cross-origin"
Permissions-Policy "camera=(), microphone=(), geolocation=()"
-Server
}
}