yau-plant-assistant/web/nginx.conf
Claude 34d2ccc576 Scaffold the WRPS plant operations assistant repository
Build spec and host brief carried in from C:\Claude and WRPS/02-env; the
plant model (equipment, tags, alarm bitmask, enums, unit conversions) is
derived from WRPS/04-plc/register-map.csv, WRPS/05-scada/modbus/scada-points.csv
and WRPS-CTL-003.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-20 13:56:32 +10:00

21 lines
563 B
Nginx Configuration File

# ai-web — static React build. No published host port; Caddy reaches this on
# the proxy network and Authelia has already authenticated the request.
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
# SPA: unknown paths fall through to the app, not to a 404.
location / {
try_files $uri $uri/ /index.html;
}
location /healthz {
access_log off;
return 200 "ok\n";
add_header Content-Type text/plain;
}
gzip on;
gzip_types text/css application/javascript application/json;
}