distribution/docs/content/storage-drivers/middleware/_index.md
Andrey Smirnov 558ace1391
feat: implement 'rewrite' storage middleware
This allows to rewrite 'URLFor' of the storage driver to use a specific
host/trim the base path.

It is different from the 'redirect' middleware, as it still calls the
storage driver URLFor.

For example, with Azure storage provider, this allows to transform the
SAS Azure Blob Storage URL into the URL compatible with Azure Front
Door.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-07-04 18:49:25 +04:00

445 B

description keywords title
Explains how to use storage middleware registry, on-prem, images, tags, repository, distribution, storage drivers, advanced Storage middleware

This document describes the registry storage middleware.

Provided middleware

This storage driver package comes bundled with several middleware options:

  • cloudfront
  • redirect
  • rewrite: Partially rewrites the URL returned by the storage driver.