fix pull-through cache: remove maxsize, harden nginx caching [ci skip]

Root cause: storage.filesystem.maxsize (5GiB) caused Docker Registry to
delete blob data while keeping metadata. Registry then served 200 OK with
correct Content-Length but 0 bytes body. nginx cached these broken responses.

Fixes:
- Remove maxsize from dockerhub/ghcr proxy configs (rely on weekly GC)
- nginx: don't cache 206 responses, require 2 requests before caching
- Wiped corrupted cache on registry VM and fixed corrupted pause container
  blobs on node3/node4
This commit is contained in:
Viktor Barzin 2026-03-16 07:41:11 +00:00
parent 88abbef7c3
commit f8a36f0621
3 changed files with 4 additions and 4 deletions

View file

@ -7,7 +7,6 @@ storage:
blobdescriptor: inmemory
filesystem:
rootdirectory: /var/lib/registry
maxsize: 5GiB
delete:
enabled: true
maintenance: