- Astro 6 static site, PL default (/) + EN (/en/) - All copy in src/i18n/pl.json and src/i18n/en.json - Sections: Hero, Problem, HowWeWork, Offers, Process, Contact, Footer - Security section hidden behind SHOW_SECURITY flag - Conservative tone for Industry and Med (human-in-the-loop) - Contact form via mailto prefill - Dockerfile multi-stage (node build -> nginx) - docker-compose.yml on npm_proxy network (NPM visible) - deploy.sh for SATURN -> VPS workflow
30 lines
731 B
Nginx Configuration File
30 lines
731 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
server_name _;
|
|
root /usr/share/nginx/html;
|
|
index index.html;
|
|
charset utf-8;
|
|
|
|
# Security headers
|
|
add_header X-Frame-Options "SAMEORIGIN" always;
|
|
add_header X-Content-Type-Options "nosniff" always;
|
|
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
|
|
|
|
# Gzip
|
|
gzip on;
|
|
gzip_types text/plain text/css application/javascript application/json image/svg+xml;
|
|
gzip_min_length 1024;
|
|
|
|
location / {
|
|
try_files $uri $uri/ $uri.html =404;
|
|
}
|
|
|
|
location ~* \.(js|css|woff2?|ttf|svg|ico|png|jpg|webp)$ {
|
|
expires 1y;
|
|
add_header Cache-Control "public, immutable";
|
|
access_log off;
|
|
}
|
|
|
|
error_page 404 /404.html;
|
|
}
|