Files
sm-seo-plugin/config/config.yaml
Jakub Zych 6eb6cb7a4d feat: 404 log and report endpoint
- POST /_seo/api/v1/notfound with the golem15.seo.notfound_token bearer
  (constant-time, off when unset), URL and referer caps, a row cap with
  an hourly warning, throttle bucket seo-notfound
- golem15.seo.notfound list by hits with Resolved rows, a preview with the
  resolved hint, a prompted 301 and a 410 record action, a bulk 410 that
  refuses a selection with a covered address
- every /_seo/api/v1 answer carries X-Robots-Tag: noindex
2026-10-27 11:35:25 +01:00

22 lines
878 B
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