Reverse proxying with Caddy and the Via header

1. The problem I’m having:

I want to measure the trade offs of proxying http requests and I’m using Caddy to conduct the experiment: GitHub - kaihendry/turtles

2. Error messages and/or full log output:

git clone
cd turtles
go run . -n 5
❯ curl -i localhost:8081
HTTP/1.1 200 OK
Content-Length: 27
Content-Type: text/plain; charset=utf-8
Date: Tue, 12 Sep 2023 12:18:12 GMT
Server: Caddy
Server: Caddy
Server: Caddy
Server: Caddy
Server: Caddy

Hello, you've requested: /

You can see Server: Caddy was appended five times, though shouldn’t Via: be utilised?

I don’t understand. There’s lots of details missing here, and you deleted most of the help topic template. Please completely fill it out, as per the forum rules.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.