Update host-your-own-binary-cache-server.md (#178)

This commit is contained in:
Svenum 2024-08-05 03:32:19 +02:00 committed by GitHub
parent f0017561fd
commit 8101b9f659
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -123,13 +123,13 @@ following content:
Now, create a policy for uploading files to S3 using the `nix-cache-write.json` file:
```bash
mc admin policy add s3 nix-cache-write nix-cache-write.json
mc admin policy create s3 nix-cache-write nix-cache-write.json
```
Associate the S3 policy we just created with the `nixbuilder` user:
```bash
mc admin policy set s3 nix-cache-write user=nixbuilder
mc admin policy attach s3 nix-cache-write -user nixbuilder
```
Allow anonymous users to download files without authentication, so all Nix servers can