XIO

xWire

Posts from every feed QUEST has found across the web — blogs, news, podcasts, channels and more.

Caddy Community - Latest posts

Latest posts

Unable to get Caddy reverse-proxy working using internal certificates

This is extremely embarrassing, but it turns out the problem was the firewall between my computer and the server Sorry.. I had ports allowed for the initial 22300 port, not 80 and 443. I ran curl -vL https://notes.homelab.local/api/ping from the host, and it showed that the certificate was correct and verified, and that I got a 200 response. After that, I was wondering if the correct ports are open. The reason the curl outputs I added to the post didn’t show anything is maybe that there are no…

Docker xcaddy with custom plugins

Hello! I’m trying to build a custom Caddy as a docker container but I run in to the following issue: [+] Building 0.2s (2/2) FINISHED => [internal] load local bake definitions 0.0s => => reading from stdin 561B 0.0s => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 386B 0.0s Dockerfile:7 -------------------- 5 | xcaddy build \ 6 | --with github.com/mholt/caddy-l4 7 | >>> --with github.com/hslatman/caddy-crowdsec-bouncer 8 | --with github.com/caddy-dns/desec…

Blocking multipart uploads with Caddy

Please forgive the break from the usual post format requirements. There’s a very serious PHP exploit about to do the rounds, and mitigation is merely “to buy time”. The only solution is PHP upgrades, but they’re not even out yet. Long and short; with Caddy, how do we refuse every request whose Content-Type header contains “multipart” before it reaches PHP? For Apache it’s this… <If "req('Content-Type') =~ /multipart/i"> Require all denied </If> Thanks for your time. Vincent Schmalbach – 21 Oct…

Unable to get Caddy reverse-proxy working using internal certificates

Your TLS seems to be working fine, but the origin server doesn’t seem to like the request for Host: 127.0.0.1:22300 (in that third curl command). It’s unclear if that’s the cause of the 400 in the earlier two requests - can you check the origin server log? If the origin is expecting to see the public hostname (*.homelab.local), you can tell Caddy to forward the original Host: header with something like header_up Host {host} in the reverse_proxy configuration. Sorry you’ll have to figure out the…

Unable to get Caddy reverse-proxy working using internal certificates

1. The problem I’m having: First off, I’m new to proxies in general. I’m trying to put insecure services behind a reverse proxy (or proxies?) in my homelab, using my internal Active Directory Domain Services PKI, not external CAs. Everything is internal, and there’s no Docker. Meaning no popular public CAs, Cloudflare, etc. Right now, I’m trying to get my Joplin server (Proxmox LXC, installed using community scripts. There’s no Apache or Nginx.) behind a reverse proxy just to accomplish that,…

Cloudsmith Debian repository: 402 Payment Required

github.com/caddyserver/dist caddy cloudsmith Debian repository returns 402 Payment Required opened 06:40AM - 09 Oct 26 UTC 991jo Hi! Since at Oct 09 05:58:27 UTC the cloudsmith repository for the Debian packa…ges returns 402 Payment required for me: ``` # apt update Hit:1 http://ftp-stud.hs-esslingen.de/debian trixie InRelease Err:2 https://dl.cloudsmith.io/public/caddy/stable/deb/debian any-version InRelease 402 Payment Required [IP: 2600:9000:225f:4800:e:f4d2:20c0:93a1 443] Error: Failed to…

Downloading specific version of Caddy with plugins from API

1. The problem I’m having: I’m building automation with Ansible, and I need Caddy with the Cloudflare DNS plugin pinned to a specific version of Caddy (for reproducibility, as I’d like to track versions in Git instead of relying on latest). 2. Error messages and/or full log output: Not relevant 3. Caddy version: Not relevant 4. How I installed and ran Caddy: Currently I’m building it with xcaddy, but for that I have to install Go as well, and it’s a lot of hassle for what could be just a simple…

CaddyUI v2.4.3 — dashboard polish, smarter health dots, multi-host fixes

CaddyUI v2.63.0: interface languages, starting with Simplified Chinese CaddyUI can now be shown in other languages, and the first translation came from the community. What’s new Choose your own language: set it under Profile → Language, or let CaddyUI follow your browser. Admins can set a site-wide default under Settings → General. 简体中文 (Simplified Chinese) is available, contributed by @chongfenglaosiji (#130). Thank you! English is always the fallback. Anything not yet translated shows in…

Cloudsmith Debian repository: 402 Payment Required

This morning, running apt update is getting: Err:10 ``https://dl.cloudsmith.io/public/caddy/stable/deb/debian`` any-version Release 402 Payment Required Using curl gives: < HTTP/2 402 < content-length: 0 < server: CloudFront < date: Sat, 10 Oct 2026 03:23:13 GMT < x-detail: Access to the repository has been restricted. Second time this week. Instead of coming here, who can I ping when something like this happens?

Caddy reload in Docker?

Okay I think I ‘fixed’ it, though I’m not really understanding why this works when the container name shows as caddy-caddy-1, but looking back at the Caddy docker install instructions I saw that to reload you should use: sudo docker compose exec -w /etc/caddy caddy caddy reload and not the command from the guide I was following elsewhere (can’t remember where I saw it) sudo docker exec -it caddy-caddy-1 caddy reload That said, now that I have this ‘working’ - neither of these reverse proxies…

Caddy reload in Docker?

1. The problem I’m having: sudo docker exec -it caddy-caddy-1 caddy reload gives me an error. 2. Error messages and/or full log output: 2026/10/09 18:57:19.125 ERROR no config file to load 3. Caddy version: v2.11.7 h1:yj0Y4fYZGPkSvibBJ1sTWE33xC0fxztVyXEW5iIdUT4= 4. How I installed and ran Caddy: Docker compose at /mnt/data/Containers/Caddy. I have a Caddyfile in mnt/data/Containers/Caddy/conf. It seems to be working with my first entry in it, but I added a second entry and am getting that error…

ECH skipping HTTPS record publication for subdomains covered by a wildcard DNS record

Thank you for the clarification! For my situation caddy-dynamicdns was the solution, to not have to handle the subdomains manually. For anyone else facing this specific issue, the concrete bit of config I had to add was: { dynamic_dns { provider ovh { endpoint ovh-eu application_key REDACTED application_secret REDACTED consumer_key REDACTED } domains { moes.ovh } versions ipv4 ip_source static 81.206.9.114 dynamic_domains } } Of course after building with caddy-dynamicdns.

Intermittent connection resets on config reloads

Your log shows each /load replacing the running servers: "msg":"servers shutting down with eternal grace period" Reloads are meant to be graceful (the listening socket is kept across config loads), so a reset between ClientHello and ServerHello is worth opening as an issue on the Caddy GitHub repo. Your curl timing and the 17/62 correlation make a good repro. I’m not aware of a config option that changes it. What you can fix is how often it reloads. The config only changes because {{upstreams…

ECH skipping HTTPS record publication for subdomains covered by a wildcard DNS record

That warning is intentional, not a bug: "msg":"domain does not have any existing records, so skipping publication of HTTPS record","domain":"wiki.moes.ovh" A wildcard only answers for names that don’t exist in the zone (RFC 4592). As soon as Caddy writes an HTTPS record at wiki.moes.ovh, that name exists, and *.moes.ovh no longer applies to it. The subdomain would lose its A record and stop resolving. Caddy checks for existing records first so it doesn’t break your sites that way. So you do…

DuckDNS Certificate error: URL domain=net and not my actual domain

Check the SOA lookup in your debug log: _acme-challenge.{domain}.duckdns.net. IN SOA ns1.sedoparking.com. hostmaster.sedo.de. duckdns.net is a parked domain, it has nothing to do with DuckDNS. Your DuckDNS subdomain lives under duckdns.org. Because the name isn’t under duckdns.org, the plugin can’t work out your subdomain from it and ends up sending domains=net, which DuckDNS rejects with KO. Change the site address in your Caddyfile to: {domain}.duckdns.org { reverse_proxy 192.168.1.154:8123…

Caddyscope: a (read-only) dashboard for Caddyserver

Hi, I am a fan of Caddy and wanted to share a module I’ve been working on for the past 3 or so months. It’s my first Caddyserver module, not my first Go project. Started as a weekend project so to speak to, to scratch an itch and to learn how Caddyserver can be extended. Without further ado, here’s Caddyscope: Caddyscope is a read-only dashboard for Caddy which shows you currently registered virtual hosts and metrics based on Caddy’s Prometheus integration. My motivation was to provide a…

DevOpsForge: Visual Docker Compose builder with automated Caddy reverse proxy & HTTPS

Quick update: Following community feedback and requests for production templates, I’ve created two ready-to-run GitHub template repositories pairing Caddy with modern stacks: Next.js + Docker + Caddy (Production): github.com/Gohar01/nextjs-docker-caddy-production — Multi-stage standalone Next.js build with automated Caddy SSL & reverse proxy. FastAPI + Docker + Caddy Starter: github.com/Gohar01/fastapi-docker-caddy-starter — Non-root Uvicorn container with Caddy reverse proxy and Docker compose…

CaddyUI v2.4.3 — dashboard polish, smarter health dots, multi-host fixes

CaddyUI v2.57.1: security hardening release (please upgrade if you run user or viewer accounts) v2.57.1 is a security hardening release, plus Caddy 2.11.7 in the bundled image. A full audit found access-control and isolation gaps that mostly matter when you have accounts below admin. None was externally reported, and every fix ships with a regression test. What’s fixed Admin-only pages: the live Caddy config, database backup, snapshots, Import from Caddy and the Porkbun certificate import are…

CaddyUI v2.4.3 — dashboard polish, smarter health dots, multi-host fixes

CaddyUI v2.56.3: multi-arch Docker images (amd64 + arm64) Thanks to a fleet user for flagging that the GitHub release archives had arm64 but the Docker images were amd64-only. Both images are now published as multi-arch manifests, so docker pull on a Raspberry Pi, Ampere or Graviton host just works: applegater/caddyui:stable applegater/caddyui-caddy:stable (Caddy 2.11.4 with the DNS providers, CrowdSec bouncer, rate limit and layer4 modules) Native linux_amd64 and linux_arm64 tarballs are on…

Registered a storage module in Portal but it doesn't appear in docs

psviderski: What am I doing wrong? One issue I see is this line in your code. The current scanner cannot infer the value from a const. I have a fix for it, but it isn’t deployed yet. github.com/unlabs-dev/caddy-uncloud storage/module.go 39605a779 locksMu sync.Mutex // locks maps successfully acquired lock names to held leases. locks map[string]*distlock.Lease // lockOps counts Lock calls until they fail or their locks are released. lockOps atomic.Int64 } // CaddyModule returns the Caddy module…

Registered a storage module in Portal but it doesn't appear in docs

Hey, I successfully registered my storage module through the portal: GitHub - unlabs-dev/caddy-uncloud: Uncloud storage module for Caddy · GitHub. The import path is github.com/unlabs-dev/caddy-uncloud/storage. It appears on the dashboard as Listed and Available. Rescan also succeeds with some delay. However, the module is still not listed on the storage page in the docs: json/storage/ — Caddy Documentation, nor all modules: modules — Caddy Documentation What am I doing wrong? Cheers

Caddy for Reverse Proxy traffic to an internal OpenVPN server

My premises are served by a Fibre network that delivers a 1G symmetric connection by way of a single fibre with a BiDi SFP endpoint that delivers that service with a dynamically assigned static IP address. I use a TPLink ER7206 Fibre Gateway device that acts as the external network boundary, router and internal DHCP server as well. My internal network is managed on the ER7206 and it hosts a ProxMox VE cluster that supports about 32 dedicated VM’s that I build on the Ubuntu server 26.04.1…