seepuls/apps/landing/infrastructure/nginx.conf
Till JS a53b945e5d
Some checks are pending
CI / validate (push) Waiting to run
feat(landing): Deploy-Stack + Cutover auf seepuls.com LIVE
Marketing-Astro-Container (:3203), gebaut mit @mana/marketing-kit
0.1.0. Welle-1-Cutover als Trust-Anker (Aggregator mit Regeln nach
AGGREGATOR_POLICY); /fuer-veranstalter als Trust+Compliance-Page
mit Take-Down-Pfad und Code-Verweis (Sitemap-Priorität 0.9).

- apps/landing/Dockerfile — wordeck-Pattern, BuildKit npm_token
- apps/landing/infrastructure/nginx.conf — Astro statisch
- apps/landing/infrastructure/macmini/docker-compose.landing.yml — Port 3203
- apps/landing/package.json — marketing-kit 0.1.0-alpha.2 → 0.1.0
- .gitignore += .astro

Cutover-Playbook: mana/docs/playbooks/LANDING_CUTOVER.md
Domain-Status:
  seepuls.com          → :3203  (Marketing, NEU)
  www.seepuls.com      → :3203  (Marketing, NEU)
  app.seepuls.com      → :3096  (Astro-App, NEU als Subdomain)
  api.seepuls.com      → :3095  (API, unverändert)

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

41 lines
1.1 KiB
Nginx Configuration File

# nginx config für seepuls-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;
}