NixOS / NixOS/nix.dev

Don't reverse proxy hydra.nixos.org

Open
#1,130 5 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

site
Dominant language
Nix
Stars
4k
Forks
339
Avg merge
2d 11h
Merged PRs (30d)
7

Description

Observations

in https://github.com/NixOS/nix.dev/commit/ccc6d2dbf4270f91554534e4b56c55fdae0b8181 you started telling netlify to reverse proxy the nix manuals directly from hydra.nixos.org

Problem

This became a problem when we started using Anubis for dealing with automated abusive requests. The reverse proxied site then served a broken validation page, that would never complete the validation steps.

Approaches

Fetch the documentation packages and host them yourself.

Willing to help?

The infra team has limited resources available, but you are free to ask, if you need anything.

Timeline
https://github.com/NixOS/infra/pull/663
https://github.com/NixOS/nix/pull/13099#discussion_r2063377495
https://github.com/NixOS/infra/pull/665

Priorities

Add 👍 to issues you find important.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with commit ccc6d2dbf4270f91554534e4b56c55fdae0b8181 and inspect how Netlify reverse proxies the manuals from hydra.nixos.org. Read the linked NixOS/infra pull requests 663 and 665, plus the nix pull request discussion, before deciding whether the documentation packages can be fetched and hosted directly. Done means the manuals no longer reverse proxy hydra and validation pages work correctly.

Written by the indexing model from the issue text.

Assessment

Domain
devops, documentation
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.