Commit Graph

7 Commits

Author SHA1 Message Date
070e1e6e09 fix(nginx): serve .txt as UTF-8 and make AI-discovery files reachable
llms.txt and robots.txt were served without a charset, so browsers
decoded the valid UTF-8 as Windows-1252 and showed mojibake (â€", für).

- Add `charset utf-8;` (+ charset_types) so text responses carry
  `; charset=utf-8`.
- Add an explicit `location ~* \.txt$` that serves the file as plain
  text, returns 404 instead of falling back to the SPA index.html, and
  sets `Access-Control-Allow-Origin: *` so any AI crawler/tool can fetch
  llms.txt / llms-full.txt cross-origin.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-24 12:46:57 +02:00
c82b27b594 Add Cookiebot consent banner (same Profice account as profice.ai/feedgine)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-12 11:58:13 +02:00
68549637d7 Attach frontend to external coolify network so Traefik can route
Coolify's Traefik defaults to the 'coolify' network, but the frontend was only on the per-resource network -> Traefik couldn't reach it (000/empty reply). Join the external coolify network + set traefik.docker.network=coolify.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-12 11:31:25 +02:00
8653ce2cc5 Remove custom network so Coolify/Traefik can route (fixes empty HTTPS reply)
Frontend was on two networks; Traefik (on only one) couldn't reach it -> 000/empty reply on HTTPS while nginx served 200 directly. Letting Coolify manage networking puts both services on its single proxy network; service-name DNS (backend) still resolves.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-12 11:18:14 +02:00
1f1b69b035 Move compose to repo root with context:. (fixes Coolify build-context path)
Coolify runs compose with --project-directory=repo-root, so context:.. resolved above the repo and the build context/Dockerfiles weren't found. Root compose + context:. matches the Dockerfiles' assumption (context = repo root).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-12 10:35:10 +02:00
4c0af9c406 Coolify compose: inject secrets via env vars, drop env_file + fixed container names
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-12 10:24:01 +02:00
e344f1b7e7 Initial commit: Visigine (Vite client + Express/SQLite backend)
Container-ready via docker/ compose (frontend nginx + backend Node). Compose adjusted for Coolify on the prod server: frontend uses expose:80 (no host binding — host 8080 is taken by the Coolify proxy; Traefik routes visigine.de), backend ALLOWED_ORIGINS=https://visigine.de. Secrets stay in server/.env (git-ignored); see server/.env.example.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-12 10:15:06 +02:00