Files
equilo-landing/nginx.conf
T
tillandClaude Opus 5.5 4b711ebe9a Neues Design: echte App-Screens, Equilo 2.0, Rechtstexte aktualisiert
- Editorial-Design mit selbst gehosteten Schriften (Newsreader, Hanken Grotesk)
- Echte Screenshots aus der App (WebP), Apple Watch und iPad-Arztbericht
- Datenschutz für App 2.0 (Health lesen/schreiben, Hörtests, Augen-Video,
  Standort nur für Notfall-Nachricht, Apple Intelligence on-device, MetricKit)
- Impressum ohne eingestellten EU-OS-Link
- nginx-Konfiguration mit Sicherheits-Headern und Asset-Caching

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT5AWHW7UkHrBjhNyA2y8X
2026-10-04 21:27:30 +02:00

27 lines
1.1 KiB
Nginx Configuration File

server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
charset utf-8;
gzip on;
gzip_types text/css application/javascript image/svg+xml application/json;
add_header X-Content-Type-Options "nosniff" always;
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
add_header X-Frame-Options "SAMEORIGIN" always;
add_header Permissions-Policy "camera=(), microphone=(), geolocation=(), interest-cohort=()" always;
add_header Content-Security-Policy "default-src 'self'; img-src 'self' data:; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline'; font-src 'self'; frame-ancestors 'self'; base-uri 'self'" always;
location /assets/ {
expires 30d;
add_header Cache-Control "public, max-age=2592000";
add_header X-Content-Type-Options "nosniff" always;
}
location = /impressum { try_files /impressum.html =404; }
location = /datenschutz { try_files /datenschutz.html =404; }
location / { try_files $uri $uri/ $uri.html =404; }
error_page 404 /index.html;
}