implement cache proxy with authentication

This commit is contained in:
Abel Luck 2026-02-26 11:30:30 +01:00
parent aa13287f67
commit affaa13e4b
5 changed files with 419 additions and 15 deletions

View file

@ -12,6 +12,14 @@
},
"compatibility_flags": [
"nodejs_compat"
],
"vars": {
"KEYCLOAK_ISSUER": "https://id.guardianproject.info/realms/gp",
"KEYCLOAK_AUDIENCE": "nix-cache",
"REQUIRED_GROUP": "nix-cache-users"
},
"r2_buckets": [
{ "binding": "R2_BUCKET", "bucket_name": "nix-cache" }
]
/**
* Smart Placement