Files
website/nginx.conf
T
Christian ManivongandClaude Sonnet 4.6 46929e2ef5 docs(design): remove SVG, use PNG logo only
SVG icon is no longer in use. public/logo.png (1024x1024 RGBA) is
the single logo asset. DESIGN.md updated accordingly: SVG snippet
removed, wordmark pattern and <head> references updated to PNG.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-28 10:16:43 +02:00

28 lines
678 B
Nginx Configuration File

server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
gzip on;
gzip_types text/plain text/css application/javascript application/json image/svg+xml;
gzip_min_length 1024;
gzip_vary on;
# SPA fallback — all routes resolve to index.html
location / {
try_files $uri $uri/ /index.html;
}
# Immutable cache for hashed assets (Vite adds content hashes)
location ~* \.(js|css|woff2?)$ {
expires 1y;
add_header Cache-Control "public, immutable";
}
location ~* \.(png|jpg|jpeg|gif|svg|ico|webp)$ {
expires 30d;
add_header Cache-Control "public";
}
}