- Static output is generated with Next.js export and served by Nginx in Docker.
- Custom Nginx rules live in
nginx/default.conf. - Common scanner probe paths like
.env,xmlrpc.php,wp-*, and*.phpreturn404. - Dotfiles are blocked except
/.well-known/*. - Static routes support both
/pathand/path/URLs.
- Sitemap and robots are generated automatically with
next-sitemapduringbun run build. - Config lives in
next-sitemap.config.jsand outputs files directly intooutfor Docker/Nginx. - Set
NEXT_PUBLIC_SITE_URLto change the canonical domain if needed.
