C
I’d also posted this problem on the Let’s Encrypt forum and have just received a reply from there which seems to be the solution; see Failed updating renewal info from ACME CA - #4 by sarahreid - Help - Let's Encrypt Community Support I added a DNS record to the Caddy service, and the numerous ERR messages in the Caddy log have now been reduced to just a few INF entries containing renewal information. Thank you for all your help in finding a solution.
C
Thank you for your helpful suggestions. I have removed the line in the Caddyfile and run a docker compose down and docker compose up -d. Nothing changed… The problem is possibly the resolving inside the pihole container. Does not work… OS-Level with docker docker compose exec caddy nslookup acme-v02.api.letsencrypt.org Server: 127.0.0.11 Address: 127.0.0.11:53 ** server can't find acme-v02.api.letsencrypt.org: SERVFAIL ** server can't find acme-v02.api.letsencrypt.org: SERVFAIL Inside the…
C
kho_caddy: acme_ca https://acme-v02.api.letsencrypt.org/directory This line is redundant, Caddy will try Let’s Encrypt’s live endpoint first, anyway. Try removing it and retrying. Other than that, server misbehaving is apparently Go’s way to tell that a DNS request fails, according to SE. Can you try resolving Let’s Encrypt’s Live endpoint, both inside and outside the container? dig a in acme-v02.api.letsencrypt.org # not sure which DNS lookup tool the container ships, if any; try host and dig,…
C
1. The problem I’m having: A few days ago, I set up Pihole and Caddy in a Docker environment so that I could access internal applications via HTTPS (instructions in c’t 2026, issue 22, page 154). Since then, the Docker-Caddy log has been reporting a large number of these error messages msg=failed updating renewal info from ACME CA identifiers=[‘*.hmw26.de’] cert_hash=... ari_unique_id=... cert_expiry=1801463708 issuer=acme-v02.api.letsencrypt.org-directory error=provisioning client: performing…
C
Yeah, that’s a cool idea. It makes your editor smarter while keeping Caddy itself untouched. My use case is quite the opposite, though. I edit my Caddyfile from multiple devices (phone, laptop, and desktop) so having a web UI available directly on the server is extremely convenient for me. Regarding the syntax, Cadditor already supports Caddyfile syntax highlighting, along with formatting and validation before applying the configuration.
C
1. The problem I’m having: I’m trying to put together a static archive of a very old CGI-based web forum. I have all the archival HTML pages, but I also need to keep inbound links working, which means a bunch of rewriting and redirection, which I tried to do with map and expression matchers, like so map {path} {map_status} {map_location} { #... ~^/Forum/(DCForumID[0-9]+)/?$ 308 /Forum-docs/${1}/ ~^/Forum/(DCForumID[0-9]+)/(.+)$ 308 /Forum-docs/${1}/${2} ~^/Forum/[^/]+/.+$ 404 - #... default 200…
C
Thank you for assisting. As you may have seen from my comment above yours, the certificate started to work again after a week of troubles and without me changing anything. The problem was not just using one browser or on one machine, I saw it on Linux, Windows 10 , Windows 11 and also Android. But now it is mysteriously fixed as you have observed. The error message was observed in the Brave browser, but now it is gone. The problem in the immich android app manifested itself by not showing any…
C
1. The problem I’m having: The documentation of the hide option to the file_server directive reads in part hide is a list of files or folders to hide; if requested, the file server will pretend they do not exist. Accepts placeholders and glob patterns…Specifying a file name or pattern without a path separator will hide all files with a matching name regardless of its location; otherwise, a path prefix match will be attempted, and then a globular match. (italics: my emphasis) I cannot find…
C
Hey. You immich instance works just fine in my browser, which is firefox. The certificate is valid. Now, it is not clear for me that, whats the origin of this error message that you have included: net::ERR_CERT_DATE_INVALID (further details below). It is from caddy? It doesn’t seem to. Its from the immich android app?
C
I do not understand what happened here. This problem has persisted for several days, maybe a week. Today I was thinking I might find the locally cached certificate file(s) in the caddy server and delete them. It turned out it was not straightforward to find where the certificate file(s) were located, but after some searching I found this folder: ./lib/caddy/.local/share/caddy/certificates/acme-v02.api.letsencrypt.org-directory/immich.arnholm.org containing 3 files: immich.arnholm.org.crt…
C
JustinWebDev: it must be the site I used to get the headers: ldns.com. It may be reading some CF cached data I just tried it for one of my sites too and got the same result. That hostname has never used the Cloudflare proxy. That site seems buggy.
C
1. The problem I’m having: I have a home server https://immich.arnholm.org with my immich photo server installed. Caddy is configured using Caddyfile with reverse_proxy to enable HTTPS access to the immich server. The server machine is running Kubuntu 26.04.01 LTS The immich subdomain is set up at my domain provider to point to my server public IP adress. My router forwards ports 80 and 443 to the caddy server in my LAN. The immich server and Caddy runs on the same computer (immich runs in a…
C
Project Name: Corium Repository: GitHub - Sanedish/corium: Self-hosted control panel for Caddy behind a Cloudflare Tunnel · GitHub Description: Corium is a self-hosted control plane for running a Caddy file server behind a Cloudflare Tunnel. I originally built it to manage my own file-serving infrastructure. I wanted to avoid manually editing Caddy configuration, switching between interfaces to manage access rules, and parsing raw access logs to inspect traffic, and most of the current…
C
I couldn’t think of anything useful to share. Ah - it must be the site I used to get the headers: ldns.com. It may be reading some CF cached data and adding CF’s headers also. I’m not sure what output it is giving, but I know it is not complete. Okay, sorry for the bogus question. My apologies.
C
I am running ubuntu, which this time is surprisingly slow at releasing this security patch. We’ve set the environment variable as far as I’m aware
C
frimdo: SSH → edit → format → verify → reload Hey. Cool idea. Here is an alternative workflow: The “SSH” and “Edit” part can be merged into one simple Pyinfra/Ansible script. You can also write a additional step that “verifies” the caddyFile syntax. Using an interactive shell and manually editing files is indeed repetitive. Also, your editor might be able to help you to write the Caddyfile syntax more effectively with correct formatting. For example, there is an package for Emacs users:…
C
You didn’t provide any information that anybody can use to help. No config. No logs. No domain name. How is anyone expected or supposed to give feedback here?
C
There is no Cloudflare anything in my Caddy config. I don’t use Cloudflare services for anything.
C
Wow, that’s pretty awesome! Nice use of Caddy.
C
The server: cloudflare header is most likely being added by Cloudflare at its edge when the request passes through its proxy, rather than by Caddy itself. If your domain’s DNS record has the Cloudflare proxy enabled, visitors receive the response from Cloudflare, which can add or modify certain response headers. To confirm, compare the response headers when accessing the site through Cloudflare with a direct request to your origin server, bypassing the proxy. Also check whether your Caddy…
C
Cadditor — a minimal web editor for Caddyfile Hi everyone, I use Caddy in my homelab, and one of the things I like most about it is how simple the Caddyfile syntax is. For me, the configuration format itself was never the problem. The friction was the workflow around making a small change: SSH → edit → format → verify → reload I looked at existing Caddy web interfaces, but most of them solve a much broader problem: dashboards, monitoring, health information, form-based configuration, multiple…
C
http.handlers.fastcache caches GET/HEAD responses proxy_cache-style — a RAM tier for small bodies plus a disk tier served via kernel sendfile. It does singleflight miss coalescing, stale_while_revalidate/stale_if_error, Vary variants, templated cache_key, PURGE requests plus an admin API for regex bulk purge, and Prometheus metrics. http://localhost:9083 { route { fastcache { path /var/cache/fastcache memory_size 64MB disk_size 1GB ttl 1h stale_while_revalidate 30s max_items 100000 vary…
C
Good question, and thanks for pushing on it. The per-instance approach was the simplest correct starting point, not the end state. I’ll link the issue here once it’s up. Feedback on the design is welcome.
C
1. The problem I’m having: My reverse proxy server responses include “server: cloudflare”. Why is this response header being sent? 2. Error messages and/or full log output: PASTE OVER THIS HERE IN THIS CODE BLOCK. Please ensure it looks nice. 3. Caddy version: 2.11.7 4. How I installed and ran Caddy: a. System environment: Windows 10 x64 b. Command: caddy.exe caddy c. Service/unit/compose file: PASTE OVER THIS HERE IN THIS CODE BLOCK. Please ensure it looks nice. d. My complete Caddy config:…
C
Glad that worked ! You can keep time_local, just move it inside the wrapped console encoder: format filter { wrap console { time_format wall time_local } fields { request>headers>Authorization delete } } That should give you local timestamps in the same readable format while keeping your header filtering intact.
C
@BreezeDelegate That worked great. But do you know how to recover time_local ?
C
Thanks for clarifying! That’s an important limitation if you’re running more than one Caddy instance. The same signed request could still be accepted by a different node before it expires. I’d probably make that quite prominent in the README, since it’s easy to assume replay protection covers the whole cluster. Are you considering shared nonce storage, or is the per-instance approach intentional for now?
C
Hi everyone, I’d like to share a project I built where Caddy plays a big role. Humble Planning is an open source (AGPL-3.0) planning app for field teams. You put people, vehicles and equipment on a planning grid, and everyone sees the changes in real time. It is self-hosted: on a Linux server with Docker, one command installs everything. From the start, I didn’t want users to deal with nginx, certbot and renewal cron jobs. So the installer ships Caddy and writes the config for them. You type…
C
Ah nice, that sounds like a pretty good setup! I’d probably stick with gitHub releases and Pyinfra then. Having a known-good binary to roll back to is worth keeping in mind too, especially if you’re updating several servers. As for the Caddy download page, I wouldn’t worry too much about using it for automated deployments. Your own build pipeline gives you more control anyway. The login error is a bit odd though. Might be worth reporting separately if it’s still happening.