Package: caddy
Version: 2.6.2-14+b1
Followup-For: Bug #1110530
X-Debbugs-Cc: [email protected]
Dear Maintainer,
I'm kindly requesting updating Caddy to the latest ship of upstream 2.11.2. I'm
trying to test syntax and the 2.6.x branches are unable to help me:
$ cat Caddyfile
:8181 {
root * /opt/cpan/minicpan
file_server
# This all fails
handle_errors {
handle @4xx {
reverse_proxy https://cpan.metacpan.org {
header_up Host cpan.metacpan.org
}
}
handle @401-404 {
reverse_proxy https://cpan.metacpan.org {
header_up Host cpan.metacpan.org
}
}
}
handle_errors 404 {
reverse_proxy https://cpan.metacpan.org {
header_up Host cpan.metacpan.org
}
}
}
All the error handling is with the current version of Caddy.
Cheers,
Wesley
-- System Information:
Debian Release: forky/sid
APT prefers unstable
APT policy: (900, 'unstable'), (500, 'testing'), (100, 'experimental'), (10,
'stable-updates'), (10, 'stable-security'), (10, 'oldstable-security'), (10,
'oldoldstable'), (10, 'stable'), (10, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.19.6+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages caddy depends on:
ii libc6 2.42-14
ii libnss3-tools 2:3.121-1
ii media-types 14.0.0
ii passwd 1:4.19.3-2
caddy recommends no packages.
caddy suggests no packages.
-- no debconf information