No description
nginx serves /assets, /uploads and the fallback index.html itself, so the API's HSTS header never reached them. nginx now sends it on everything and the API stops, so proxied pages don't get it twice. docs/security-headers.md says who sends which header and what nginx must pass (Host, X-Forwarded-For) for the CSRF check and rate limits. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| docs | ||
| server | ||
| src | ||
| .gitignore | ||
| CLAUDE.md | ||
| index.html | ||
| package.json | ||
| pnpm-lock.yaml | ||
| README.md | ||
| site.json | ||
| tsconfig.json | ||
| vite.config.ts | ||
NGU-Web
Website for NGU (Next Generation of Unity): a public site and a role-based admin panel.
- Frontend: React, TypeScript, Tailwind, Vite (
src/).pnpm dev,pnpm build. - API: Hono on Node 22.13+, SQLite (
server/).DB_PATH=./dev.db pnpm dev. - Accounts are made with
server/src/admin-cli.js. - Deployment and setup notes are in
docs/; working notes for contributors are inCLAUDE.md.