blob: bdbad08920c4fa78813e75dcc12e2a7e9a0409a9 [file] [log] [blame]
# Allow request to go.dev for finding the current go sdk versions.
allow go.dev
# Allow requests to the bazel registry for ensuring we can update our
# bzlmod deps.
allow bcr.bazel.build
# Allow requests to our mirror and rewrite all urls to use said mirror.
allow mirror.monogon.dev
rewrite ^((?!go\.dev|bcr\.bazel\.build).*) mirror.monogon.dev/$1
# Block all other URLs. You can comment out this one to allow a fallback.
block *