No description
Find a file
tegwick f95de1482d Fix CSRF 403 on all POSTs behind traefik
prod.py never read the CSRF_TRUSTED_ORIGINS env var the deployment already
injects, so Django's setting stayed empty. Behind traefik's TLS termination
Django saw requests as HTTP and rejected the browser's https:// Origin on
every POST with a CSRF failure (403) — forms could not be saved and the DB
stayed empty.

- Read CSRF_TRUSTED_ORIGINS from env (filtering empties).
- Set SECURE_PROXY_SSL_HEADER so Django recognizes HTTPS via X-Forwarded-Proto.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-22 02:02:42 +02:00
.claude/rules Refresh agent instruction files 2026-05-18 16:55:54 +02:00
static Fix Tailwind asset build dropping all utility classes in Docker 2026-05-21 00:37:07 +02:00
vergabe_teilnahme Fix CSRF 403 on all POSTs behind traefik 2026-05-22 02:02:42 +02:00
wiki Established workplans 2026-05-08 07:54:06 +02:00
workplans issue-facade integration 2026-05-14 11:30:30 +02:00
.custodian-brief.md chore(consistency): sync task status from DB [auto] 2026-05-16 06:10:43 +02:00
.dockerignore Add multi-stage Dockerfile for container deployment 2026-05-18 23:32:51 +02:00
.env.example Prototype implementation 2026-05-08 14:26:48 +02:00
.gitignore issue-facade integration 2026-05-14 11:30:30 +02:00
.python-version Prototype implementation 2026-05-08 14:26:48 +02:00
AGENTS.md Refresh agent instruction files 2026-05-18 16:55:54 +02:00
CLAUDE.md Refresh agent instruction files 2026-05-18 16:55:54 +02:00
conftest.py Prototype implementation 2026-05-08 14:26:48 +02:00
docker-compose.dev.yml Prototype implementation 2026-05-08 14:26:48 +02:00
docker-compose.test.yml Prototype implementation 2026-05-08 14:26:48 +02:00
Dockerfile Fix Tailwind asset build dropping all utility classes in Docker 2026-05-21 00:37:07 +02:00
LICENSE Initial commit 2026-05-07 20:30:13 +00:00
Makefile chore(infra): port 9000, make help, db skip-check, Vite CSS fix 2026-05-13 00:18:34 +02:00
manage.py Prototype implementation 2026-05-08 14:26:48 +02:00
package-lock.json Prototype implementation 2026-05-08 14:26:48 +02:00
package.json Prototype implementation 2026-05-08 14:26:48 +02:00
pyproject.toml Add multi-stage Dockerfile for container deployment 2026-05-18 23:32:51 +02:00
README.md Initial commit 2026-05-07 20:30:13 +00:00
SCOPE.md Refresh agent instruction files 2026-05-18 16:55:54 +02:00
uv.lock Add multi-stage Dockerfile for container deployment 2026-05-18 23:32:51 +02:00
vite.config.js chore(infra): port 9000, make help, db skip-check, Vite CSS fix 2026-05-13 00:18:34 +02:00

repo-seed

A git repository template to bootstrap coulomb projects from.