Skip to content

My nix queries /nar/<hash>-<name>.narinfo, not just /<hash>.narinfo #120

Description

@t184256

My nix 2.15.1 queries /nar/<hash>-<name>.narinfo for some reason, so I had to

location ~ "^/nar/([a-z0-9]{32})-.*\.narinfo$" {
  proxy_pass http://127.0.0.1:5000/$1.narinfo$is_args$args;
  ...
}

(It was worth to set it up though, I've seen ~10x speedups in synthetic local tests vs whatever's built into hydra.)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions