wilddragon-site/nginx.conf
Zac Gaetano 67b8b4c576 SEO: local AV/DC targeting, static service + case-study pages
- services-data.js: 4 service landing pages (commercial AV install DC,
  broadcast integration, LED/XR, conference room AV) with FAQ + areas
- build-pages.mjs: node-stdlib generator -> /services/<slug>/,
  /projects/<slug>/, index pages, sitemap.xml; Service/FAQPage/Article/
  BreadcrumbList JSON-LD on every page
- index.html: title/description/OG retargeted to 'Commercial AV &
  Broadcast Systems Integrator - Washington, DC'; ProfessionalService
  schema gains geo, areaServed (DMV cities), hasOfferCatalog; noscript
  fallback links the new pages
- components.jsx: hero copy + footer links point at real service pages
- nginx.conf/Dockerfile: ship generated pages, robots/sitemap types
- llms.txt: service pages + service area
2026-09-18 08:00:19 -04:00

41 lines
1.3 KiB
Nginx Configuration File

server {
listen 43036 default_server;
listen [::]:43036 default_server;
server_name _;
root /usr/share/nginx/html;
index index.html;
charset utf-8;
gzip on;
gzip_types text/plain text/css text/javascript application/javascript application/json image/svg+xml;
gzip_min_length 1024;
# Long cache for static assets — they're content-addressed by path,
# bust via filename when they change.
location ~* \.(png|jpg|jpeg|gif|webp|svg|ico|woff2?|ttf)$ {
expires 30d;
add_header Cache-Control "public, immutable";
}
# Short cache for the HTML/JS that drive the SPA so edits show up fast.
location ~* \.(html|css|js|jsx)$ {
expires 5m;
add_header Cache-Control "public, must-revalidate";
}
# Single-page app — unknown paths fall back to index.html, which
# handles routing via location.hash (#/projects/<slug>).
location / {
try_files $uri $uri/ /index.html;
}
# Crawler files.
location = /llms.txt { default_type text/plain; }
location = /robots.txt { default_type text/plain; }
location = /sitemap.xml { default_type application/xml; }
# Source maps / raw sources aren't shipped; keep vendor un-listed.
location /vendor/ { autoindex off; }
}