XIO

xWire

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

Caddy Community - Latest posts

Latest posts

Can't register new package

I found the issue. The error isn’t for a module in your code, rather in Caddy (this line). The workaround for now is to reduce the Caddy version in your go.mod to v2.11.5 or earlier. The fix from our side requires supporting address-of composite literals, which I have locally but isn’t deployed.

Route IPv4 and IPv6 from VPS to local services

I think there are two separate parts to this. Caddy can handle the incoming IPv4/IPv6 requests on your VPS, but it still needs a way to reach the services running on your local network. If those services aren’t publicly reachable, something like a WireGuard tunnel between the VPS and your home server would make more sense than exposing each service directly. Caddy could then reverse proxy to the service’s address over that tunnel. One thing I’m not quite sure about is what you mean by the…

New plugin: Aegis, which verifies Web Bot Auth signatures

Hi all! I’ve released Aegis (v0.1.0), a handler that checks Web Bot Auth signatures on incoming requests. Web Bot Auth lets an agent such as OpenAI’s sign its HTTP requests with a key it publishes at a well-known URL. Aegis checks each signature and passes the result to the rest of your config, so your routes decide what each agent gets. caddyfile example.com { web_bot_auth @openai vars {web_bot_auth.agent} https://chatgpt.com/.well-known/http-message-signatures-directory handle @openai {…

Can't register new package

Hi! Claiming GitHub - kauricre/aegis: Aegis is a Caddy module that checks Web Bot Auth signatures on incoming requests and tells the rest of the Caddy config the outcome of each check. · GitHub (version left empty, so latest, which is v0.1.0) fails with: unable to scan modules in package GitHub - kauricre/aegis: Aegis is a Caddy module that checks Web Bot Auth signatures on incoming requests and tells the rest of the Caddy config the outcome of each check. · GitHub Error ID:…

Reverse proxy to PHP-FPM for large video uploads: request_body max_size and timeouts

request_body { max_size 4GB } handles the Caddy ingress cap, but for 1-2 GB uploads failing mid-stream over unix//run/php/php8.2-fpm.sock, the bottleneck is almost always the combination of FastCGI transport read/write timeouts and PHP-FPM’s worker termination timer rather than Caddy’s HTTP listener alone. Three settings to align so large multipart uploads don’t get cut off: 1. Inside your php_fastcgi block, explicitly raise the FastCGI transport timeouts so Caddy waits while PHP-FPM…

Unable to register new account

1. The problem I’m having: Unable to register on Create Account - Caddy 2. Error messages and/or full log output: Sorry, something went wrong: Internal error saving your account. Please include this error ID if reporting: 5acdba1d-d484-4e62-9330-2a6b5e91d803 3. Caddy version: Not applicable 4. How I installed and ran Caddy: Not applicable a. System environment: Not applicable b. Command: Not applicable c. Service/unit/compose file: Not applicable d. My complete Caddy config: Not applicable 5.…

Reverse proxy to PHP-FPM for large video uploads: request_body max_size and timeouts

The problem I’m having: Hi all, I’m running a PHP video sharing app (ColorFul Tube CMS) behind Caddy 2 with php_fastcgi. Uploads of 1-2 GB videos sometimes fail mid-way. My current Caddyfile: example.com { root * /var/www/clf/public request_body { max_size 4GB } php_fastcgi unix//run/php/php8.2-fpm.sock file_server } Is request_body max_size the right directive, and are there Caddy-side read/write timeouts I should raise for slow uploads, or is this purely PHP-FPM (upload_max_filesize,…

Central Caddy server

rrohi: Is there a way, in my homelab, to have one central Caddy reverse-proxy server that services multiple servers with their insecure services? Of course. Simply define more than one site and proxy those to different destinations. aquarius.homelab.local { reverse_proxy http://<some FQDN or IP> } notes.homelab.local { reverse_proxy http://<some other FQDN or IP> } Make sure both resolve to the host Caddy runs on.

Central Caddy server

Hello I’m very new to Caddy and the whole proxying thing in general. This whole post basically boils down to my lack of knowledge of it all. A few days ago, I was able to get my first internal SSL Caddy reverse-proxy set up and running: Unable to get Caddy reverse-proxy working using internal certificates . I may have the basics of the reverse-proxy thingie worked out now, but setting up Caddy on each server that requires it seems a bit too much. Is there a way, in my homelab, to have one…

Unable to download on Windows amd64. It just builds forever

Hello. I searched the forums here for this issue, and it seems like it has come up every once in a while for people. When I try to download caddy from the website, with no additional modules, it just sits and builds forever, and never downloads. I actually have caddy installed and just want to upgrade it, but the “caddy upgrade” command similarly just sits on “requesting build”, and nothing ever happens. Anyone have an idea what I can do to fix this? Is it something on my end, this time? Thanks…

Reverse localhost proxy to LAN destination yields SSL_ERROR_INTERNAL_ERROR_ALERT

1. The problem I’m having: I’m trying to reverse proxy https://localhost to an internal LAN IP and port, so I ran this: caddy reverse-proxy --from locahost:443 --to 192.168.0.1:5000 --internal-certs And that starts up without any errors. If I then point firefox at https://localhost, I get an SSL_ERROR_INTERNAL_ERROR_ALERT error that is so hard there isn’t even the option to say “yes I know, ignore it, load anyway”, it’s just a hard nope. 2. Error messages and/or full log output: C:\> caddy…

Route IPv4 and IPv6 from VPS to local services

1. The problem I’m having: I don’t know how I would setup a connection to my local services from my VPS over the internet so that the local services get the ip from my VPS. 2. Error messages and/or full log output: . 3. Caddy version: . 4. How I installed and ran Caddy: . a. System environment: NAME="Alpine Linux" ID=alpine VERSION_ID=3.23.6 PRETTY_NAME="Alpine Linux v3.23" HOME_URL="https://alpinelinux.org/" BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues" docker info…