Skip to content

Commit eb32c80

Browse files
committed
add content-type fix to readme
1 parent c9d5087 commit eb32c80

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,18 @@ Create a **Modify Response Header** rule.
215215
**Then...**: Set static > `Docker-Distribution-API-Version` > `registry/2.0`
216216
```
217217
218+
##### Content-Type Fix
219+
220+
Create a **Modify Response Header** rule.
221+
222+
```
223+
**If incoming requests match...**: Custom filter expression
224+
225+
**Expression**: `(starts_with(http.request.uri.path, "/v2/") and (http.request.uri.path contains "/manifests/" or http.request.uri.path contains "/blobs/"))`
226+
227+
**Then...**: Remove> `Content-Type`
228+
```
229+
218230
#### S3 (target only)
219231
220232
```yaml

0 commit comments

Comments
 (0)