wordeck/apps/landing/infrastructure/nginx.conf
Till JS e0605b2f2e
Some checks are pending
CI / validate (push) Waiting to run
feat(landing): Marketing-Astro auf wordeck.com LIVE
Astro-Landing als neuer Apex-Container (:3202), gebaut mit
@mana/marketing-kit. Probe-Cutover der Welle-1-Charge (niedrigstes
Compliance-Risiko, höchste Ship-Reife). Anki-Migration als
Akquise-Anker; /anki-import als dedicated Long-Tail-Page mit
3-Schritt-Anleitung + FAQ + JSON-LD FAQPage (Sitemap-Priorität 0.95).

- apps/landing/ — index, anki-import, ueber, mitwirken
  + robots/llms/sitemap-Endpoints
- infrastructure/macmini/docker-compose.landing.yml — Port 3202
- .gitignore += .astro

Cutover-Playbook: mana/docs/playbooks/LANDING_CUTOVER.md
Domain-Status:
  wordeck.com          → :3202  (Marketing, NEU)
  www.wordeck.com      → :3202  (Marketing, NEU)
  app.wordeck.com      → :5181  (Web-App, NEU als Subdomain)
  api.wordeck.com      → :3191  (API, unverändert)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-20 21:38:41 +02:00

41 lines
1.1 KiB
Nginx Configuration File

# nginx config für wordeck-landing — Astro statisch, no SPA fallback.
#
# Astro baut mit format='file' und trailingSlash='never', d.h.
# /anki-import → /anki-import.html. try_files-Kette deckt das ab.
server {
listen 80 default_server;
server_name _;
root /usr/share/nginx/html;
index index.html;
# Plain-Text-Endpoints (Astro-API-Routes wurden als .txt/.xml gebaut).
location = /robots.txt {
default_type "text/plain; charset=utf-8";
try_files $uri =404;
}
location = /llms.txt {
default_type "text/plain; charset=utf-8";
try_files $uri =404;
}
location = /sitemap.xml {
default_type "application/xml; charset=utf-8";
try_files $uri =404;
}
# Canonical paths → .html siblings; unknown paths 404.
location / {
try_files $uri $uri.html $uri/ =404;
}
# Astro asset bundles → long-cache.
location /_astro/ {
expires 1y;
add_header Cache-Control "public, immutable";
}
# Standard MIME-Optimierungen.
gzip on;
gzip_types text/plain text/css text/javascript application/javascript application/json application/xml application/manifest+json image/svg+xml;
gzip_min_length 1024;
}