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:
@@ -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>"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user