forked from TrueCloudLab/distribution
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>
15 lines
445 B
Markdown
15 lines
445 B
Markdown
---
|
|
description: Explains how to use storage middleware
|
|
keywords: registry, on-prem, images, tags, repository, distribution, storage drivers, advanced
|
|
title: Storage middleware
|
|
---
|
|
|
|
This document describes the registry storage middleware.
|
|
|
|
## Provided middleware
|
|
|
|
This storage driver package comes bundled with several middleware options:
|
|
|
|
- cloudfront
|
|
- redirect
|
|
- [rewrite](rewrite): Partially rewrites the URL returned by the storage driver.
|