blob: bdbad08920c4fa78813e75dcc12e2a7e9a0409a9 [file] [log] [blame]
Tim Windelschmidt5178dd72024-12-04 04:38:45 +01001# Allow request to go.dev for finding the current go sdk versions.
2allow go.dev
3
4# Allow requests to the bazel registry for ensuring we can update our
5# bzlmod deps.
6allow bcr.bazel.build
7
8# Allow requests to our mirror and rewrite all urls to use said mirror.
9allow mirror.monogon.dev
10rewrite ^((?!go\.dev|bcr\.bazel\.build).*) mirror.monogon.dev/$1
11
12# Block all other URLs. You can comment out this one to allow a fallback.
13block *