We also need to tell ATS to keep the original Host header:
CONFIG proxy.config.url_remap.pristine_host_hdr INT 1
It's clearly stated in [the tutorial](https://docs.trafficserver.apache.org/en/latest/admin-guide/configuration/redirecting-http-requests.en.html), but mistakenly in
[Cicimov's][cicimov].
Then we also need to configure the path to the SSL certs, we use the
curl: (56) Received HTTP code 404 from proxy after CONNECT
...
...
@@ -101,18 +120,18 @@ with `rules1.conf` like:
... and the `Host` header is untouched. The rule works though because
the `Foo` header appears in the request.
Solution:
CONFIG proxy.config.url_remap.pristine_host_hdr INT 1
The solution to this is the `proxy.config.url_remap.pristine_host_hdr`
documented above.
It's clearly stated in [the tutorial](https://docs.trafficserver.apache.org/en/latest/admin-guide/configuration/redirecting-http-requests.en.html), but mistakenly in
[Cicimov's][cicimov].
#### HTTP/2 support missing
Next hurdle: no HTTP/2 support, even when using `proto=http2;http`
(falls back on `HTTP/1.1`) and `proto=http2` only (fails with
`WARNING: Unregistered protocol type 0`).
### Preliminary benchmarks
### Benchmarks
#### Same host tests
With `blog.tpo` in `/etc/hosts`, because `proxy-host` doesn't work, and
running on the same host as the proxy (!), cold cache: