Reverse proxy logs don't have time stamp like caddy log
It did. What’s the format you’re expecting?
Reverse proxy logs don't have time stamp like caddy log
I didn’t say I wanted structured logs. The formatting for the Caddy log and RP log is the same, but the output is different. Why doesn’t the RP log honor the formatting instructions?
Cloudsmith Debian repository: signing key expired
See Github issue for the discussion github.com/caddyserver/caddy APT repo InRelease signed with expired subkey, rejected by apt/sqv on Debian 13 (trixie) opened 10:52PM - 30 Sep 26 UTC closed 03:13PM - 01 Oct 26 UTC fr3lin CI/CD ### Issue Details The Cloudsmith repo `caddy/stable` is still signing `InReleas…e` with subkey `D59FC5219C50B989D95FCE4E531A6B20FA058A70`, which expired on 2024-03-30. The published `gpg.key` contains a valid rsa4096 signing subkey (created 2020-12-29), but it is not…
Unable to claim package; it might already be claimed
I see it was claimed by @dennisbitsonline in April. Dennis, could you delete it from your account so the real developer can add it on theirs?
Reverse proxy logs don't have time stamp like caddy log
JustinWebDev: So maybe I should be asking how to get a simpler, output that includes a time stamp? Why is the caddy log not structured? You configured the format as console. It structures the data, but the message remains text. In console format, the timestamp is at the beginning of the line, like this: 2026/10/03 00:30:09 INFO http.log.access.log0 handled request {"request": {"remote_ip": "127.0.0.1", "remote_port": "54705", "client_ip": "127.0.0.1", "proto": "HTTP/2.0", "method": "GET",…
Best practices for shipping custom Caddy binaries in production?
I use docker for that purpose. I have written up how here: https://github.com/jum/caddy-docker-proxy-redis
Unable to claim package; it might already be claimed
I’m trying to register and claim a plugin for the first time and going to do so I get an error that the package is already claimed Sorry, something went wrong: unable to claim package; it might already be claimed Please include this error ID if reporting: 88fe99a3-90e9-441d-97e4-3aadad69cde9 I’ve never claimed this before and I am the owner. I do see the module already on the website. Did it get automatically added or did someone else claim it? The module in question is…
Cloudsmith Debian repository: signing key expired
Can confirm it is fixed today. 2.11.6 installed correctly. I guess it was signed with one of the expired keys yesterday. Thank you to whoever go it fixed.
Reverse proxy logs don't have time stamp like caddy log
Help? Any suggestions about the second post?
Cloudsmith Debian repository: signing key expired
I can confirm the same issue on Debian 13 (Trixie). APT/sqv rejects the same signing subkey : 531A6B20FA058A70 I also inspected the current InRelease directly : https://dl.cloudsmith.io/public/caddy/stable/deb/debian/dists/any-version/InRelease It reports : Date : Thu, 01 Oct 2026 04:17:47 UTC The OpenPGP signature identifies: keyid 531A6B20FA058A70 issuer fingerprint : D59FC5219C50B989D95FCE4E531A6B20FA058A70 signature created : 2026-10-01 That signing subkey expired on 2024-03-30. So the…
Cloudsmith Debian repository: signing key expired
Hello, Just ran apt update on an ubuntu 24.04 server and got: Err:6 ``https://dl.cloudsmith.io/public/caddy/stable/deb/debian`` any-version InRelease The following signatures were invalid: EXPKEYSIG 531A6B20FA058A70 Caddy Web Server <contact@caddyserver.com> After inspecting the key, I deleted it before downloading as per Install — Caddy Documentation . Cleared apt’s cache for dl.cloudsmith.io before trying apt update again. No luck. $ gpg --show-keys /usr…
Intermittent connection resets on config reloads
1. The problem I’m having: I’m seeing connection failures during TLS establishment when Caddy reloads its configuration. Is this behavior: Expected / a technical constraint in Caddy’s architecture A bug in Caddy Something that can be fixed with configuration Detailed Description I’m using Caddy Docker Proxy for several services in Docker Swarm. I noticed one service was repeatedly restarting every few seconds and indirectly affecting the availability of my other services. Each restart removes…
How to set session ticket rotation lifetime from caddyfile?
I’m slightly mystified. I think the ticket lifetime is set here, but it’s set to 12 hours, and comments on that value where it’s pulled from JSON here. I can only assume that the default value is overridden somewhere else, perhaps in a default JSON config file?
Ignoring plugins configuration when running caddy validate?
So I ended up building the proper binary for my check. And the maintainer of the Redis storage plugin advices me to use the “caddy adapt”, which effectively check the syntax without pinging the Redis backend. Will do for me, thanks for answering!
Ignoring plugins configuration when running caddy validate?
rgarrigue: I wish I could ignore the plugins related instructions. Is it possible ? It’s not possible, and I’d argue adding such feature is a footgun. If you want something like that for yourself, you can abuse env var expansion to inject config lines. It may be tedious, but that’s a compromise for your convenience.
Ignoring plugins configuration when running caddy validate?
1. The problem I’m having: I’m setting up some pre-commit action & github action to validate some (embedded in yaml) Caddyfile. We use rate limiting & redis storage backend plugins. To properly validate our configurations, we need to build caddy with the extensions, spin up a Redis/Valkey. That’s a lot to add for not much, so I wish I could ignore the plugins related instructions. Is it possible ? 2. Error messages and/or full log output: Expected, but I’d like to --ignore-directive “order” or…
DuckDNS Certificate error: URL domain=net and not my actual domain
1. The problem I’m having: I’m trying to set up external access to services such as Frigate and Home Assistant. I could set up access to one service easily, but after I found that No-IP doesn’t support subdomains, I’m to switching to DuckDNS. Now can’t get Caddy to successfully negotiate with the domain. Starting the docker container generates the errors below and the domain cannot be reached in a browser. For now, I’m only trying with Home Assistant, and I’ll deal with subdomains and the other…
ECH skipping HTTPS record publication for subdomains covered by a wildcard DNS record
1. The problem I’m having: I’m trying to set up Encrypted Client Hello (ECH) on my Caddy instance and I’m running into an issue where Caddy skips publishing the HTTPS records for my subdomains. I am using OVH for DNS with the Caddy OVH DNS plugin. In my OVH dashboard, I have a wildcard A record (*.moes.ovh) and the apex moes.ovh pointing to my server IP. I’m using moes.ovh as my outer SNI. When Caddy starts, it successfully publishes the ECH config for the domains, but throws warnings saying…
Encountering issues with serving static files from a subdirectory of the website root path
Perhaps expected, it turns out that a lingering file permission was the cause of the issue. After reinstalling everything completely from scratch, it worked @Mohammed90, thanks a lot for your diligent support!

Best practices for shipping custom Caddy binaries in production?
Hello everyone. Extending caddy with custom plugins using the xcaddy utility is fun. But i wonder how does the distribution of these custom binaries actually happens to work, in a production system? By distribution system, i meant a standard and convenient way of shipping custom Caddy binaries. Caddy on its own provides a way of shipping on Debian systems using its custom repos: Caddy Web Server Debian, Ubuntu, Raspbian - Caddy - The Ultimate Server with Automatic HTTPS This page describes…
Encountering issues with serving static files from a subdirectory of the website root path
Share the logs let us see what’s happening
Encountering issues with serving static files from a subdirectory of the website root path
Ah, should perhaps have specified that I did not run all three lines at once I ran a line, checked if the issue was fixed, and then ran the next. And yes, I would agree, this is the output of ls -l: -rw-r--r-- 1 www-data www-data 57529 Sep 24 13:26 some_file.txt -rw-r--r-- 1 www-data www-data 57529 Sep 24 13:26 some_other_file.txt And here is the verification that the systemctl service is running as the caddy user. The file /lib/systemd/system/caddy.servicecontains: # caddy.service # # For…

Encountering issues with serving static files from a subdirectory of the website root path
The second line here invalidates the first line. You can’t have the same set of files owned by 2 different users/groups. tearz: chown -R www-data:www-data assets chown -R caddy:caddy assets The caddy user, which is used by systemd, is a member of its own group as well as www-data. This means it should be able to access the files if they’re owned by either of them. Do you have selinux?
Default server block that will respond with a "Not found" message for all requests to port 80, 443
Hello, I currently use caddy with systemd socket activation, and I wanted to setup a default server block that catches all requests not matching any of my hosts and returns a 404 like ngninx or apache. my current config is: fd/3, fd/4 { log respond "Not found" 404 } (That’s the socket-activated form, equivalent to listening on ports 80/443 as default_server.) Is this the correct/recommended way to do a catch-all in Caddy?
Encountering issues with serving static files from a subdirectory of the website root path
In the process of enabling the debug logs, I tried running Caddy as root, and the files were correctly served. So it’s definitely an issue with file permissions. However, I would still like for the system service to work (where the caddy user owns the process). I tried running the following commands from root: chown -R www-data:www-data assets chown -R caddy:caddy assets chmod -R 644 assets Even though I confirmed that all the files are correctly owned by with ls -l assets, every time I request…
