U6: SpaFallback-SEO: Website:NoIndex (X-Robots-Tag), robots.txt, sitemap.xml en KnownPaths (echte 404)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-11 23:44:04 +01:00
co-authored by Claude Sonnet 5.5
parent 0ef6e74671
commit a7460a0f9b
6 changed files with 330 additions and 0 deletions
@@ -9,6 +9,16 @@
}
},
"AllowedHosts": "*",
"Website": {
// Secure default: every response carries noindex and /robots.txt disallows all. A production
// instance must set Website__NoIndex=false and Website__PublicBaseUrl=https://slpsoftware.nl explicitly;
// robots.txt then allows crawling and points to /sitemap.xml.
"NoIndex": true,
"PublicBaseUrl": "",
"Sitemap": { "Paths": [ "/", "/privacy" ] },
// Only these website paths are pages (200); any other path is a real 404. /api, /admin and assets keep working.
"KnownPaths": [ "/", "/privacy" ]
},
"ConnectionStrings": {
"DefaultConnection": "Server=<production-db-host>;Port=3306;Database=SlpSoftware<Env>;Uid=<db-user>;Pwd=<db-password>"
},