feat: implement content management dashboard and update proxy configurations to support AI-assisted learning material generation
All checks were successful
On Push to Main / test (push) Successful in 23s
On Push to Main / publish (push) Successful in 50s
On Push to Main / deploy-dev (push) Successful in 1m22s

This commit is contained in:
RaymondVerhoef
2026-05-15 12:53:53 +02:00
parent aaafe413f6
commit 0a73ab3466
8 changed files with 75 additions and 45 deletions

View File

@@ -31,11 +31,18 @@ services:
CLEAN_DOMAIN=$(printf '%s' "$DOMAIN_NAME" | tr -d ';')
cat > /etc/caddy/Caddyfile <<EOF
$${CLEAN_DOMAIN} {
handle /pb/* {
uri strip_prefix /pb
handle /api/anthropic/* {
reverse_proxy frontend:80
}
handle /api/* {
reverse_proxy pocketbase:8090
}
reverse_proxy /* frontend:80
handle /_/* {
reverse_proxy pocketbase:8090
}
handle {
reverse_proxy frontend:80
}
}
EOF
caddy run --config /etc/caddy/Caddyfile --adapter caddyfile