v0.42.3
This commit is contained in:
1 parent
a75893d428
commit
bfbeedfad7
43 files changed
+5834
-125
No files matched your search
@@ -93,6 +93,8 @@ Missing static files return **HTTP 404 Not Found**, unreadable/blocked paths **4
|
||||
|
||||
These generated HTML responses retain the actual HTTP status, `Content-Type: text/html; charset=utf-8`, `X-Content-Type-Options: nosniff` and `Cache-Control: no-store`; `HEAD` preserves the matching `Content-Length` but sends no body. Explicit application/origin responses are still passed through without forced replacement, subject to the Vhost error interception options below.
|
||||
|
||||
Since 0.42.3, **Settings → Pages** and **Vhost → Pages** can also select a pre-generated offline Cloudflare-style template for individual error statuses. These HTML/CSS files are in `src/admin/web/cf_page/` and are served by the same `include_str!` mechanism as existing built-in pages; nothing is read from disk at request time. See [Error pages](ERROR_PAGES.md) for selection, scope and limitations.
|
||||
|
||||
Vhosts can intercept selected application error bodies in **Pages** and return a configured HTML error page while preserving the status. Internal location `error_fallback` is different: it routes the error to a named internal handler. Error-page replacements are marked uncacheable. Origin-supplied and explicitly configured custom error bodies are preserved unless interception is enabled.
|
||||
|
||||
## Monitoring and issues
|
||||
|
||||
Reference in new issue
Block a user