Open lermontex opened 10 months ago
/cc @dunglas
I am not actually sure what the expected behavior for 1xx is -- maybe it's hop-by-hop? Seems like it should go through, though. I'll leave it up to @dunglas when he has a chance :)
I wonder if https://github.com/caddyserver/caddy/pull/6656 will fix this
I'm using Docker Compose to initialize multiple containers
I have fastify app + @fastify/early-hints - (http://container1.node.local:3000)
Proxy Server 1 (https://container1.caddy.local):
Caddyfile
Proxy Server 2 (https://container2.caddy.local):
Caddyfile
I am running requests:
curl -k -v --http2 http://container1.node.local:3000
- OK (X-Test Custom Header present, 103 Early Hints Headers present)curl -k -v --http2 https://container1.caddy.local
- OK (X-Test Custom Header present, 103 Early Hints Headers present)curl -k -v --http2 https://container2.caddy.local
- BAD (X-Test Custom Header present, 103 Early Hints Headers missing)Is this a bug or is it supposed to be like this? Is it possible to configure Caddy so that headers are passed along the entire chain?