- POST /_seo/api/v1/registry/routes (public, bucket seo-notfound): the frontend server reports its static routes with the bearer token golem15.seo.route_report_token, else notfound_token (constant-time; both empty answer 404); at most 2000 paths - unknown paths become registry pages (origin reported, kind page, a name from the last segment), known ones get reported_at; paths another content type owns and invalid ones are skipped; nothing is deleted or overwritten, and the report's time marks missing pages
32 lines
1.3 KiB
YAML
32 lines
1.3 KiB
YAML
# golem15.seo defaults, read as golem15.seo.<key>.
|
|
#
|
|
# site_url is the public origin of the site (for example
|
|
# https://example.com). Canonical, og:url and every other absolute URL the
|
|
# resolver answers start with it; when it is empty, app.url is used. The
|
|
# request's Host header is never used.
|
|
site_url: ""
|
|
#
|
|
# unprefixed_locale names the locale whose public URLs carry no locale
|
|
# prefix (for example pl on a site whose English pages start with /en).
|
|
# Empty leaves the choice to each content type.
|
|
unprefixed_locale: ""
|
|
#
|
|
# notfound_token is the shared secret the frontend server sends as
|
|
# "Authorization: Bearer <token>" with each 404 report to
|
|
# POST /_seo/api/v1/notfound. Empty turns the endpoint off (it answers 404).
|
|
notfound_token: ""
|
|
#
|
|
# notfound_max_rows caps the 404 log; new addresses beyond it are dropped,
|
|
# with one warning an hour.
|
|
notfound_max_rows: 10000
|
|
#
|
|
# robots_sitemaps lists the sitemap addresses robots.txt names, one
|
|
# "Sitemap:" line each, made absolute on the site URL.
|
|
robots_sitemaps: ["/sitemap.xml"]
|
|
#
|
|
# route_report_token is the shared secret the frontend server sends as
|
|
# "Authorization: Bearer <token>" with its route report to
|
|
# POST /_seo/api/v1/registry/routes (the page registry). Empty uses
|
|
# notfound_token; both empty turn the report off (it answers 404).
|
|
route_report_token: ""
|