Fix: deploy target + Traefik-Labels + Next rewrites

- deploy-vps.sh: free-warez.top → free-warez.win (eldov.win liegt auf .win,
  nicht .top). Vorheriger Deploy lief auf .top ohne Traefik-Routing.
- docker-compose.yml: Traefik-Labels analog w-make-com (Router für
  eldov.win + www.eldov.win, websecure entrypoint, HTTP→HTTPS-Redirect).
  Service hängt am 'proxy'-Netzwerk.
- next.config.ts: Rewrites als Backup zum proxy.ts (/ → /de,
  /projekte/[slug] → /de/projects/[slug]). In manchen Setups greift der
  proxy.ts nicht zuverlässig für statische Routen — doppelt hält besser.
- src/app/page.tsx: Root-Route serviert DE-Inhalt direkt, damit
  Healthchecks und Bots eine echte Antwort bekommen (kein endloser
  Redirect).
This commit is contained in:
Jan Wagner
2026-08-31 19:44:41 +02:00
parent ef0f4fbc82
commit 646562d473
5 changed files with 167 additions and 9 deletions
+2
View File
@@ -11,6 +11,8 @@ RUN npm ci
FROM deps AS build
WORKDIR /app
COPY . .
ARG NEXT_PUBLIC_SITE_URL=https://eldov.win
ENV NEXT_PUBLIC_SITE_URL=${NEXT_PUBLIC_SITE_URL}
ENV NEXT_TELEMETRY_DISABLED=1
RUN npm run build