admin bbee11b142 Add build artifacts and generated assets for bnkops deployment
- MkDocs built site output (mkdocs/site/)
- Auto-generated repo widget data (repo-data/*.json)
- Environment config JS (env-config.js)
- Python bytecode cache (hooks/__pycache__/)
- Remove deleted test pages

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 15:04:29 -06:00

26 lines
564 B
Nginx Configuration File

server {
listen 80;
listen [::]:80;
root /config/www;
index index.html;
location / {
try_files $uri $uri/ =404;
}
# Custom error pages
error_page 404 /404.html;
# Enable gzip compression
gzip on;
gzip_types text/plain text/css application/javascript application/json image/svg+xml;
gzip_min_length 1000;
# Set cache headers for static assets
location ~* \.(jpg|jpeg|png|gif|ico|css|js)$ {
expires 30d;
add_header Cache-Control "public, no-transform";
}
}