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
This commit is contained in:
5
controllers/notfound/_hint.htm
Normal file
5
controllers/notfound/_hint.htm
Normal file
@@ -0,0 +1,5 @@
|
||||
{{- with .Data.Text -}}
|
||||
<div class="summer-callout" role="status">
|
||||
<p class="summer-callout__text">{{ . }}</p>
|
||||
</div>
|
||||
{{- end -}}
|
||||
Reference in New Issue
Block a user