tvl-depot/users/flokli/nixos
Florian Klink ae76eaa761 feat(users/flokli/nixos-tvix-cache): re-enable http2
With nar-bridge supporting zstd content-encoding, we don't need the
nginx zstd module and can re-enable http2.

We also need to propagate the Accept-Encoding sent by the client to
nar-bridge, so it actually knows it can send zstd.

This reduces the time measured in the microbenchmark from ~13s to this:

```
hyperfine 'rm -rf /tmp/cache; nix copy --from https://nixos.tvix.store/ --to "file:///tmp/cache?compression=none" /nix/store/jlkypcf54nrh4n6r0l62ryx93z752hb2-firefox-132.0'
Benchmark 1: rm -rf /tmp/cache; nix copy --from https://nixos.tvix.store/ --to "file:///tmp/cache?compression=none" /nix/store/jlkypcf54nrh4n6r0l62ryx93z752hb2-firefox-132.0
  Time (mean ± σ):      4.880 s ±  0.207 s    [User: 4.661 s, System: 2.377 s]
  Range (min … max):    4.700 s …  5.274 s    10 runs
```

Change-Id: Id092307423636163ae95ef87ec8fa558b83ce0bb
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12835
Reviewed-by: Jörg Thalheim <joerg@thalheim.io>
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com>
2024-11-24 18:34:04 +00:00
..
archeology-ec2 feat(users/flokli/nixos/archeology-ec2): automate bucket log parsing 2023-11-12 16:46:06 +00:00
nixos-tvix-cache feat(users/flokli/nixos-tvix-cache): re-enable http2 2024-11-24 18:34:04 +00:00
profiles chore(3p/sources): Bump channels & overlays 2024-04-06 18:04:14 +00:00
.envrc fix(users/flokli/nixos): add source_up 2024-11-22 12:33:34 +00:00
.skip-subtree feat(users/flokli/nixos): init archeology 2023-10-29 16:31:35 +00:00
default.nix feat(users/flokli/nixos/nixos-tvix-cache): init 2024-11-23 09:40:21 +00:00