ipx-web uses Caddy's global metrics option (#381)
The browser tests ran Debian's Caddy 2.6, which has no global metrics option, so the Caddyfile nested it in servers, which production's 2.11 logs as deprecated at every start. The tests now run Caddy 2.11 from Caddy's own repository (install.sh), the version the caddy:2 image has. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
- ipx-web no longer logs a deprecation warning about its metrics setting at every start (#381).
|
||||||
- A tap's time in the traces ends with the last answer to what it set off, not with a refresh made seconds later (#379).
|
- A tap's time in the traces ends with the last answer to what it set off, not with a refresh made seconds later (#379).
|
||||||
- Switching away from the page a minute after using it no longer stops it with "Maximum call stack size exceeded" (#378).
|
- Switching away from the page a minute after using it no longer stops it with "Maximum call stack size exceeded" (#378).
|
||||||
- Two items from different feeds that share an id, as a blog's RSS and Atom feeds' do, are told apart: in All Subscriptions the second can be opened and marked read, where the first was marked whichever was clicked (#361).
|
- Two items from different feeds that share an id, as a blog's RSS and Atom feeds' do, are told apart: in All Subscriptions the second can be opened and marked read, where the first was marked whichever was clicked (#361).
|
||||||
|
|||||||
@@ -14,11 +14,7 @@
|
|||||||
admin off
|
admin off
|
||||||
auto_https off
|
auto_https off
|
||||||
# Requests, their times and upstream errors as Prometheus metrics, served below (#371).
|
# Requests, their times and upstream errors as Prometheus metrics, served below (#371).
|
||||||
# Nested in servers, which Caddy 2.11 calls deprecated, for the browser tests' Caddy, 2.6,
|
|
||||||
# which knows no other way; the global `metrics` option once both are 2.8 or later.
|
|
||||||
servers {
|
|
||||||
metrics
|
metrics
|
||||||
}
|
|
||||||
# Everything else Caddy logs, its errors among them, which carry the request too: the same
|
# Everything else Caddy logs, its errors among them, which carry the request too: the same
|
||||||
# filter as the access log's below.
|
# filter as the access log's below.
|
||||||
log default {
|
log default {
|
||||||
|
|||||||
Reference in New Issue
Block a user