# Add to /etc/nginx/sites-available/aitbc.conf

# Serve production assets
location /assets/ {
    alias /var/www/html/assets/;
    expires 1y;
    add_header Cache-Control "public, immutable";
    add_header X-Content-Type-Options nosniff;
    
    # Gzip compression
    gzip on;
    gzip_types text/css application/javascript image/svg+xml;
}

# Security headers
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-Content-Type-Options "nosniff" always;
